Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elcobvg/rest-api-lumen
Boilerplate for REST API with Lumen, MongoDB and OAuth2
https://github.com/elcobvg/rest-api-lumen
json-api jsonapi lumen lumen-api mongodb oauth2 opcache passport rest-api
Last synced: about 2 months ago
JSON representation
Boilerplate for REST API with Lumen, MongoDB and OAuth2
- Host: GitHub
- URL: https://github.com/elcobvg/rest-api-lumen
- Owner: elcobvg
- License: mit
- Created: 2017-12-06T00:16:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T04:44:17.000Z (about 7 years ago)
- Last Synced: 2024-10-16T03:21:09.987Z (3 months ago)
- Topics: json-api, jsonapi, lumen, lumen-api, mongodb, oauth2, opcache, passport, rest-api
- Language: PHP
- Homepage:
- Size: 69.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lumen REST API with MongoDB, OAuth2 and JSON API
- REST API boilerplate for Lumen micro-framework with MongoDB database.
- Implements JSON API and OAuth2 authentication.
- Lightweight and super-fast due to leveraging PHP OPcache for caching data output.## Installation
- `git clone https://github.com/elcobvg/rest-api-lumen.git`
- `cd rest-api-lumen`
- `cp .env.example .env`
- `composer install`
- Edit `.env` and set your MongoDB connection details
- `php artisan migrate`
- `php artisan passport:install`### References
- [Lumen micro-framework](https://lumen.laravel.com/)
- [MongoDB](https://www.mongodb.com/)
- [JSON API](http://jsonapi.org/)
- [Laravel Passport](https://laravel.com/docs/5.5/passport)