php artisan migrate --seed // Command to run migrations and populate the database with one user to tests
Generate a key for this laravel application
php artisan key:generate
Execute the follow command to initialize the server:
php artisan serve
To tests
* usuário: cronos@gmail.com
* Senha: secret
Comands utils of laravel
* php artisan route:list //To show all routes of the API
* php artisan migrate:refresh --seed // Reload all migrations running all seeders to populate the database
Locales
app/Http/Crontrollers/Api - you will find all of the controllers of the application;
app/Model/Api - you will find all of the models od the application;
route/api - you will find all of the routes of the api;
database/migrations - you can see all migrations;
* database/postman - you will find a postman file to import to your postman.