- Clone the project
git clone https://github.com/singhsanket143/ShopCart-Ecommerce-Backend.git
- Move into the directory of the downloaded project
cd ShopCart-Ecommerce-Backend
- Install node_modules
npm install
- Create a new
.env
file in the root directory of the project (you can do it usingvim .env
) and then add the following environment variables to the.env
file
PORT=value_of_the_socket_port
- Turn up the server
npm start