https://github.com/jimthedev/react-auth-example
https://github.com/jimthedev/react-auth-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jimthedev/react-auth-example
- Owner: jimthedev
- Created: 2016-12-19T21:35:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T20:10:50.000Z (over 8 years ago)
- Last Synced: 2025-01-17T03:42:56.873Z (4 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting started
### Development
1. Clone this repo
2. `npm install`
3. copy `server/.env.example` to `server/.env`
4. Edit `server/.env` to add your auth0 client id and secret
5. Run `npm start` to start the front end.
6. In another tab run `nodemon server/index.js`.### To do a build
1. Run `npm run build`
### To do a deployment (front end only)
Use heroku.
Make sure to set the environment variables listed in server/.env