- User SingUp
- User SigIn returning JWT
- User check authentication with JWT
- User authenticated can update your data
- User authenticated can delete your account
- Search user by Id
- make sure that .env file is created
- make sure if you will use docker
- To test:
docker-compose -p tests run -p 3000 auth-microservice yarn test
- To build:
docker-compose up --build -d
With docker you not need use npm or yarn install beacause of sharing volumes
- download yarn
- yarn install
- yarn dev
To build to production
yarn run build
the dist folder will be generated
To test
yarn test
Build your own docker image, remember to change .env vars
docker build -f .\Dockerfile.prod -t auth-microservice-prod .