DEV Community


Posted on

Step the MongoDB compass for ReactJS

  • Open the Compass Exe
  • Make a New Connection ( copy the URL for local host )

  • Create a Database

  • Like -> e-comm

Image description

  • Create a Collection ( or in RDBMS called Table )

products and users is the collectiions

  • Add the Data

Image description

  • in insert document 📃 Add some demo data

Image description

Finally Done

Top comments (0)