Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 753 Bytes

README.MD

File metadata and controls

31 lines (19 loc) · 753 Bytes

Node E-Commerce API

An full E-Commerce API build with Nodejs, Express and Mongo

Project Setup

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>

Install

npm install

Running

npm start

Base url

http://localhost:5001