APIS handled by in Frontend | Frontend Repo : Link
| Variable Name | Meaning |
|---|---|
| CONNECTION_URL | MongoDb Connection URL |
| JWT_SECRET | Create new secret for sign jwt token |
| PORT | App listening port |
| Account email for sending email to users | |
| PASSWORD | Account password to authenticate |
It's recommanded to create email account for sending email other then gmail provider to avoid failure.
Run command in terminal
npm install && npm start
-
Run command in root directory to build image
docker build . -t auth-api-image -
Start Container
docker run -p 5000:5000 --name auth-api-container-name auth-api-imageproject is started at
localhostat port5000.