Skip to content

Authentication micro-service for the "Intro to the cloud technologies" course

Notifications You must be signed in to change notification settings

MotumInc/auth-service

Repository files navigation

DeepScan grade

auth-service

Authentication micro-service for the "Intro to the cloud technologies" course

Steps to get it up and running:

  • Specify environment variables, such as:
    • ACCESS_TOKEN_SECRET: secret key wich will be used to sign accesss tokens
    • REFRESH_TOKEN_SECRET: secret key wich will be used to sign accesss tokens
    • USER_REGISTRY_URL: url on which user-registry-service is available
    • DATABASE_URL: posrgress URL to a database in format: postgresql://<username>:<password>@<hostname>:<port>/<database>?schema=<schema_name> (for e.g. postgresql://user:password@localhost:5432/motum?schema=public)
    • PORT: port on which REST authentication api will be available
    • SERVICE_PORT: port on which gRPC authentication api will be available
    • BIND_ADDRESS: address to bind REST api socket to
  • yarn build
  • yarn start

Or after you add env variables use yarn docker to build docker image

About

Authentication micro-service for the "Intro to the cloud technologies" course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published