An full E-Commerce API build with Nodejs, Express and Mongo
- View live demo here: e-commerce-api-80cx.onrender.com
In order to run app properly, Add a `.env `file to the root of your project with the following content:
MONGO_URI = <DB connection string>
PORT = <PORT number in order to avoid port collisions>
JWT_SECRET = <jwt secret code>
JWT_LIFETIME = <jwt expires limit>
STRIPE_SECRET_KEY = <stripe secret code>
CLOUD_NAME = <cloudinary cloud name>
CLOUD_API_KEY = <cloudinary api key>
CLOUD_API_SECRET = <cloudinary api secret>
npm install
npm start