Skip to content

hasibulofcs/E2_Ecommerce_mini_NodeJS_NoSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2 E-commerce Mini Backend

In order to run the app locally

  • please create a .env file and place with values these variables - PORT , DATABASE_URL , DATABASE_USERNAME , DATABASE_PASSWORD, PRODUCTS_DATABASE
  • run command npm i or yarn according to the choice to install all the dependency packages
  • the to run the app use
npm run dev
or
yarn dev

APP building for production command

"build": "tsc && xcopy public dist\\public /E /I /Y",

command explanation:

  • /E: Copies all directories and subdirectories, including empty ones.
  • /I: Assumes the destination is a directory if it doesn’t exist.
  • /Y: Suppresses prompts to overwrite files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published