- Notifications
You must be signed in to change notification settings - Fork0
nikunjkabariya/laravel-5.5-lumen-5.5-with-OAuth2
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a RESTful API with OAuth2 authentication/security developed using Laravel Lumen 5.5.0.You can use this if you want to quick start developing your own custom RESTful API by skipping 95% of your scratch works.Hopefully this will save lot of your time as this API includes all the basic stuffs you need to get started.
This API also includes a developer dashboard with the API documentation which is developed in Laravel 5.5. This will be useful to manage your developers access to the API documentation.
http://laravel-lumen-rest.dockerboxes.usLogin: developer/developerDocumentation for this RESTful API can be found on theLumen RESTful API with OAuth2 Documenation.
Step1. cd /var/wwwgit clone -b master https://github.com/sirinibin/laravel-5.5-lumen-5.5-with-OAuth2.git laravel-apiNote:Make sure you have at least php7.1 or php7.0 or else you may face some issues while installing laravel lumen.Step2. cd laravel-api composer installStep3.Create a database named "laravel_api" in your mysql or any other database software.Step4.cp .env.example .envStep5. vim .env and update the db detailsStep6.php artisan key:generateStep7.php artisan migrateStep8. cd developers & run composer install then repeat step4,5 & 6.Step9. Point API end point URL to /var/www/laravel-api/public eg: http://laravel-lumen-rest-api.dockerboxes.usStep10. Point API developers Dashboard URL to /var/www/laravel-api/developers/public eg:http://laravel-lumen-rest.dockerboxes.usStep11. cd /var/www/laravel-api && sudo chmod -R 777 storageStep12. cd /var/www/laravel-api/developers && sudo chmod -R 777 storageStep13. vim /var/www/laravel-api/developers/.env API_HOST_LOCAL=localhost:8004 API_HOST_PRODUCTION=laravel-lumen-rest-api.dockerboxes.usIf you discover a security vulnerability within this template, please send an e-mail to Sirin k atsirin@nintriva.com. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under theMIT license
About
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- PHP73.7%
- HTML25.9%
- Vue0.4%