SoliDry / api-generator

PHP-code generator for Laravel framework, with complete support of JSON-API data format
MIT License
328 stars 60 forks source link

Question: Api not found #196

Closed meneken17 closed 4 years ago

meneken17 commented 4 years ago

Hey, I started experimenting with this framework today, but I can't access any api. I used the sample files from vendor/solidry/api-generator/tests/functional/oas/, fixed the autoload and ran the api:generate command. All files were created. The laravel main page is shown and v3/ shows a "Hello World" sample page. But accessing any other paths e.g. v3/article will always return the 404 page.

Am I missing any steps or have I made any mistake? Running php 7.3.12, Laravel 7.24.0 and a freshly installed api-generator.

meneken17 commented 4 years ago

Mistake: There was an error with my database/redis setup, which somehow caused an 404 error...