Host Lumen as a web API

A week ago my website was working fine and today i check it again, it started to show me error like
“Whoops, looks like something went wrong.”
I already try to reset the website and deploy like the tutorial (Deploy Laravel Project into 000webhost site) but its still gives me the same error…

Can you shoot us a link to the application?

this is my website https://aga267.000webhostapp.com/api/pelanggan

Hi @theredshoes!

You’re missing the /config directory. Are you sure you have restored your project entirely? :confused:

Well, looks like in Lumen the default config directory is on the vendor/laravel/lumen-framework.
I should copy the directory to the root and its working. Thanks for the solution

1 Like