An example backend with GoLang that uses auth0 for authentication
- Ensure you have air and task (https://youtu.be/Q7uh85_i0-M)
- Create an auth0 account (https://auth0.com/)
- Create a new api (https://auth0.com/docs/quickstart/backend/golang/01-authorization#create-a-middleware-to-validate-access-tokens)
- Setup
app.env
file with your credentials, followapp.env.example
- Run
task dev
- Run
cd web
,npm install
- Setup a new client application in auth0 (https://auth0.com/docs/quickstart/spa/react/01-login#create-a-new-application)
- Fill in the
web/.env
file with your credentials, followweb/.env.example
- Run
npm run dev