Skip to content

AngelLam1130/MERN-Stock-Market-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is a good source to set up mongodb https://www.mongodb.com/developer/languages/javascript/node-connect-mongodb/

  • mongodb altas : cloud database
  • mongodb compass : GUI

Make sure BE data has been stored in mongodb collection successfully, here are the steps :

  • Add data in mongodb altas 1.Click in cluster Screenshot 2024-07-13 at 17 25 11 2.Add data (data in CSV format or JSON format) Screenshot 2024-07-13 at 17 26 53

  • Add data in mongodb compass (this one is more straightforward)

    1. Screenshot 2024-07-13 at 17 28 51

To start the project :

  • turn on mongodb
  • make sure in server.js mongodb already connect successfully through uri
  • terminal : node server.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published