Feature Requests is a API/SPA combo demonstrating some ways to piece together various pieces of the Laravel and Vue.js ecosystems. A fictional app for helping a company create/view clients, creating feature requests from those clients, and prioritizing those feature requests.
This is the backend, the API. You can find the frontend repo - feature-requests-app
DEMO - (The data is wiped every 24 hours)
- Laravel - PHP Framework
- Dingo API - RESTful API for storing/retrieving data.
- Fractal - Transformation layer for API output
- l5-repository - Repository pattern to abstract the database layer
- jwt-auth - JSON Web Token Authentication
- Socialite - OAuth authentication with Google
- AdminLTE - Login page (all other UI is in the SPA)
- More
$ git clone [git-repo-url] feature-requests-api
$ cd feature-requests-api
$ composer install
$ php artisan migrate
Duplicate .env.example
to .env
and fill it out with the right info. You can get your Google Client ID/Secret from the Google Developer Console. You'll need them for the oAuth signin.
Your webserver needs to allow the authorization
header.
###Contributing Pull requests are welcome :)