Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

E-Shop backend with express and mongodb atlas

  • First create a .env file in the project's root folder, wich must contain something like this:
    API_URL = /api/v1
    CONNECTION_STRING = mongodb+srv://mongodbtest:[email protected]/eshop-database?retryWrites=true&w=majority
    secret = E60D72F553A3E831AF7CDAB2F3F60A32ECCC3E27835752A437F6DA93A3F7A8D4
  • Then run:
    • npm install
    • npm start