ashishbhatiam / node-ecommerce-api

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

Home Page:https://e-commerce-api-80cx.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://e-commerce-api-80cx.onrender.com/


Languages

Language:JavaScript 54.3%Language:HTML 45.7%