An open API service indexing awesome lists of open source software.

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

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