https://getcomposer.org/doc/00-intro.md#locally
clone repository cd /path/clone-repository composer install
You must create a .env
file in your root directory to set up an important environment variables
Some like that:
# /path/clone-repository/.env.example
php artisan key:generate
Run this command in your project's terminal to create the tables from migrations
php artisan migrate
Run this command in your project's terminal to create the rows from seeds
php artisan migrate --seed
Now, you can start the API
php artisan serve
Access http://localhost:8000! is a ready.