https://e-commerce-api-643k.onrender.com
-
Clone the repo
git clone git@github.com:brunoanunciacaosouza/e-commerce-api.git
-
go to project folder
cd e-commerce-api
-
install dependencies
npm run install
-
Environmental Variables Set up
- Here are the environmental variables that needs to be set in the
.env
file in the server directory. - These are the default setting that I used for development, but you can change it to what works for you.
PORT=3000 MONGO_URL=<Your mongodb url> JWT_LIFETIME=1d JWT_SECRET=<any secret value of your choice>
- Here are the environmental variables that needs to be set in the
-
Run development server
npm start