Installation and Usage

  1. Clone this repository to your local machine using command git clone https://github.com/subhajit033/leadlly-assignment.git
  2. Run npm install to install the necessary dependencies.
  3. Get the mongodb url from atlas or your local machile
  4. Create a .env file all the data according to .env.example file
  5. Run npx prisma db push to generate prisma client (model according to mongodb)
  6. Run npm start to start the development server.
  7. Try the routes on postman.

Using docker

  1. Start Docker Engine First
  2. Run docker run -p 3000:3000 subhajit033/leadlly