Skip to content

belemlc/apiAuthenticationJwt

Repository files navigation

webservice

generator-api

dependencies

Docker 🐳 & docker-compose.

developing

run locally run using docker-compose:

sudo docker-compose up

the app runs on localhost:8080

production

build the Docker 🐳 container and run it:

you'll likely be consuming mongodb as a service, so make sure you set the env var to connect to it.

sudo docker build -t <image-name> .
sudo docker run \
  -p <host-port>:8080 \
  -d <image-name> \
  -e MONGO_DB_URI=mongodb://<username>:<password>@<host>:<port> \
  npm run start

About

API Authentication with node + passport + jwt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published