No description
Find a file
2024-11-20 19:49:34 +05:30
src Initial commit 2024-11-17 20:50:39 +05:30
.dockerignore added: docker stuff 2024-11-20 19:49:34 +05:30
.gitignore Initial commit 2024-11-17 20:50:39 +05:30
Dockerfile added: docker stuff 2024-11-20 19:49:34 +05:30
eslint.config.mjs Initial commit 2024-11-17 20:50:39 +05:30
nodemon.json Initial commit 2024-11-17 20:50:39 +05:30
package.json Initial commit 2024-11-17 20:50:39 +05:30
pnpm-lock.yaml Initial commit 2024-11-17 20:50:39 +05:30
README.md updated: readme 2024-11-17 21:25:39 +05:30
tsconfig.json Initial commit 2024-11-17 20:50:39 +05:30

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)

  1. Edit the environment variables in the Dockerfile
  2. Build the container image
  3. Run the image

How to Run (with NPM)

  1. Clone this repo
  2. Install all the dependencies
npm i
  1. Make a file called .env in the project root with the following contents:
JWT_SECRET=<the jwt secret>
MONGODB_URI=<the mongodb connection string>
  1. Start the server
npm run dev