- Clone the project and open it in VS Code (Prerequisite - MongoDB Shell must be installed)
- Open the terminal and run following commands ---> cd ui ---> npm install ---> npm run watch
- Open another terminal and run ---> cd ui ---> npm start
- Open another terminal and navigate to --> cd api ---> npm install --> npm start
- Open another terminal and run mongo mongodb+srv://MayurMongo:Mayurcs%402020@freeclusteraws.vcypi.mongodb.net/inventoryManagement
- Mongo server will be started and run below commands to view records in the database
- use inventoryManagement
- db.products.find().pretty()
- Open the browser and navigate to Inventory Management - Application Home Page and insert a record.
- GraphQL server Inventory Management - GraphQL Server
query { productsList { name, id, category, image, price } }