Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 390 Bytes

File metadata and controls

17 lines (15 loc) · 390 Bytes

e-commerce-api

Setup

Create .env file and enter the following values

  • MONGO_URI= database url
  • PORT = 3000
  • JWT_SECRET = random string
  • JWT_LIFETIME= expiration time
  • COOKIE_SECRET = random string
  • NODE_ENV=development

Install dependencies

  • npm install or yarn add

Start the development server

  • npm run dev

Access API docs