After you clone the repository install dependencies.
composer install
Copy the example env file
cp .env.example .env
Give permissions to env file
chmod 777 .env
generate a random string for app key and add it to the APP_KEY property in env (length of 32)
Change permissions for storage and bootstrap folders
chmod -R 777 bootstrap
chmod -R 777 storage
Run the migrations and seed the database
php artisan migrate --seed
Generate a JWT Secret key
php artisan jwt:secret
When writing API Endpoints please add Swagger documentation to the endpoints to specify required parameters and expected responses. You can find more information about Swagger here.
Once you have added documentation to a controller endpoint you can regenerate
the /api/documentation
view with the following command:
php artisan swagger-lume:generate
Documentation for the framework can be found on the Lumen website.
The Lumen framework is open-sourced software licensed under the MIT license