Authentication server.
-
Start mongo and redis.
docker-compose up
-
Install dependencies.
yarn
-
Start server.
yarn start
Registers a user given email and password.
Authenticates a user given email and password, returns a jwt.
Verifies a jwt.
Registers a user given code from facebook login.
Authenticates a user given code from facebook login, returns a jwt.
yarn run test
Builds docker image and runs tests from the built image.
make test.build
yarn run lint