MayurBagwe / promern_4

promern_mongo integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps to Setup the project

  1. Clone the project and open it in VS Code (Prerequisite - MongoDB Shell must be installed)
  2. Open the terminal and run following commands ---> cd ui ---> npm install ---> npm run watch
  3. Open another terminal and run ---> cd ui ---> npm start
  4. Open another terminal and navigate to --> cd api ---> npm install --> npm start
  5. Open another terminal and run mongo mongodb+srv://MayurMongo:Mayurcs%402020@freeclusteraws.vcypi.mongodb.net/inventoryManagement
  6. Mongo server will be started and run below commands to view records in the database
    • use inventoryManagement
    • db.products.find().pretty()
  7. Open the browser and navigate to Inventory Management - Application Home Page and insert a record.
  8. GraphQL server Inventory Management - GraphQL Server

query { productsList { name, id, category, image, price } }

About

promern_mongo integration


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:Shell 0.0%Language:CSS 0.0%