Haven’t gotten Larafast API Boilerplate yet? Check here: https://larafast.com/projects/larafast-rest-api
Postman documentation is available at https://documenter.getpostman.com/view/739183/2sA3QnhE57
Installation
To install the project you need to open your terminal and type these commandsIf you have installed the project using the Larafast Installer, you can skip this steps.
Clone repo and install composer
Create .env file
Create APP_KEY just run:
Run migrations
By default DB_CONNECTION is set to SQLite, feel free to change it to MySQL or any preferred DB.
.env
By default, the project comes with pre-defined roles. If you want to modify them, update the
database/seeders/RoleSeeder.php
file.Run Local Server
Laravel comes with a handy artisan serve command to run a local server. Feel free to use Valet or any other local server management tools.Don’t forget to remove the starter kit’s git configs. To do so:
rm -rf .git
- to init fresh git folder later git remote remove origin