0.0.5 • Published 2 years ago

strapi-auth0-accounts-service v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Strapi Auth0 Accounts Service


Requirements

  • Node.JS: v14.15.1

we recommend docker and docker-compose.

Configure app envs

Copy .env-sample and rename to .env, and then update with appropiate values

GOOGLE_CLOUD_PROJECT=<GOOGLE_CLOUD_PROJECT> AUTH0_DOMAIN=<AUTH0_DOMAIN> CLIENT_ID=<CLIENT_ID> CLIENT_SECRET=<CLIENT_SECRET> API_IDENTIFIER=<API_IDENTIFIER> CONNECTION_NAME=<CONNECTION_NAME>

Running with docker-compose

$ docker-compose up

Running in dev

$ npm run dev

It will be running at localhost:3001

build for production

$ npm run build

Running the project

$ npm start

How to run tests

$ npm test