Live link - https://my-ecommerce-server.vercel.app/
- If you want to run this code into your local then follow the instruction.
- clone github repo
https://github.com/ashraf56/myEcommerce-server.git
- opne your vs code terminal and write npm i
npm i
- create an env file and set env variable
DATABASE_URL= set here your mongodb database url
PORT= set your port
- Run tsc -w in the terminal
tsc -w
- Run server on local
nodemon ./dist/index.js