No description
src | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
eslint.config.mjs | ||
nodemon.json | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
tsconfig.json |
Scalable Services Assignment
User Auth Service
This service was made by Abhiram K for a scalable services assignment at uni.
How to Run (with Docker)
- Edit the environment variables in the Dockerfile
- Build the container image
- Run the image
How to Run (with NPM)
- Clone this repo
- Install all the dependencies
npm i
- Make a file called
.env
in the project root with the following contents:
JWT_SECRET=<the jwt secret>
MONGODB_URI=<the mongodb connection string>
- Start the server
npm run dev