Skip to content

Demonstration of CRUD Operations using Node React Mongo

Notifications You must be signed in to change notification settings

sharathm89/node-react-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Operations (Products)

Back End:

  • Data storage : MongoDB Azure
  • Server Side : NodeJS Azure

Client and Server communication

  • GraphQL

Client Side:

  • View : React
  • Routing : React-Router
  • Data Flow : Redux

Java Script Standard:

  • ES6

GraphQL Queries

  • query{ products { _id title price quantity imgUri }}
  • query{ product(_id : "58beb7f7093aa75fce6ee845"), { _id quantity price title imgUri}
  • mutation{ deleteProduct(_id : "58c26ff666b0ee0bf1c1ac9d"), { _id status } }
  • mutation{ editProduct(_id : "58beb7f7093aa75fce6ee845", title : "beans vegetable", quantity : 450, price : 100.50), { _id quantity price title imgUri }}
  • mutation{ createProduct(title : "beans vegetable", quantity : 450, price : 100.50), {_id quantity price title imgUri}}

Server

Steps to Runing locally

1) npm start
    http://localhost:4000/
2) Graphql Link
    http://localhost:5000/graphql

About

Demonstration of CRUD Operations using Node React Mongo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published