https://github.com/saitolume/react-express-auth0-sample
https://github.com/saitolume/react-express-auth0-sample
auth0 express monorepo react
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/saitolume/react-express-auth0-sample
- Owner: saitolume
- Created: 2019-05-20T14:31:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T06:43:40.000Z (about 7 years ago)
- Last Synced: 2025-04-09T15:13:04.739Z (about 1 year ago)
- Topics: auth0, express, monorepo, react
- Language: JavaScript
- Size: 175 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-express-auth0-sample
## Usage
### Set up
This repository is a moporepo with Yarn. So you have to use `yarn` insted of `npm`.
```bash
yarn install
```
### Start
```bash
yarn backend:start # nodeamon
yarn frontend:start # react-scripts start
```
### Others
Please read this entry.
- Auth0 による認証を React + Express で実装する(In prgress)
## Required Environment variables
### Backend
- AUTH0_AUDIENCE
- AUTH0_CLIENT_ID
- AUTH0_CLIENT_SECRET
- AUTH0_DOMAIN
### Frontend
- REACT_APP_AUTH0_AUDIENCE
- REACT_APP_AUTH0_CLIENT_ID
- REACT_APP_AUTH0_DOMAIN