Skip to content

lemanh99/ManageMobileStore-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileStore - Backend

Contents

Prerequisites

  • NodeJS version is v14.15.4.
  • Database: Mongodb

Installation Flow

  • Setup environment
npm install
  • Connect to DB

  • Run server locally

npm start
  • Run server locally development
npm run dev

Environment variables

  • See .env-sample
  • Same with local however:
PORT = 
MONGO_DB_USER = 
MONGO_DB_PASSWORD = 
MONGO_DB_DATABASE = 
JWT_SECRET = MOBILESECRET