Skip to content

raj-kumar94/React-Nodejs-Graphql-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React-Nodejs-Graphql-Example

A simple graphql example using Reactjs and Nodejs

Example includes

  • Graphiql at express server
  • Using Apollo at Reactjs as graphql client and binding Reactjs component with graphql
  • Some graphql mutation examples

Installation

Run Your mongo

Run express server

cd server
npm install
node app.js

Run frontend react dev server

in another terminal

cd ../client
npm install
npm run dev

Go to browser and type

http://localhost:3000/graphql

Making queries using Graphiql

in browser type

http://localhost:4000/graphql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published