A simple laravel app for middle layer between github and react app
Download or clone the repo.
Install dependencies
composer installCreate new project OAuth Apps in GitHub and set callback {front_url}/auth/github/callback
Copy .env and update values
- FRONT_APP_URL
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
- GITHUB_CALLBACK ({front_url}/auth/github/callback)
Configure database and migrate table
php artisan migrateRuns the development server for the apps.
php artisan serve --port=8000Hit the url in the browser
APP_URL= http://localhost:8000