- Clone this repository to your local machine using command
git clone https://github.com/subhajit033/leadlly-assignment.git
- Run
npm install
to install the necessary dependencies. - Get the mongodb url from atlas or your local machile
- Create a
.env
file all the data according to.env.example
file - Run
npx prisma db push
to generate prisma client (model according to mongodb) - Run
npm start
to start the development server. - Try the routes on postman.
- Start Docker Engine First
- Run
docker run -p 3000:3000 subhajit033/leadlly