Skip to content

sittimunirahar/graphql-react-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Apollo Client Project

This project uses react with Apollo client. It sends queries to graphQL Apollo server on this repo.

This project can be used as a boilerplate for a react project that uses Apollo GraphQL and retrieves data from REST API.

Setup

To setup and run this project:

  1. git clone this repo
  2. cd
  3. run npm install
  4. run node --watch index.js or npm run dev

Don't forget to run REST API json server from the server repo and the graphQL server: https://github.com/sittimunirahar/graphql-server-app

Once all three servers are running, the UI should look like this:

Screenshot 2024-04-15 at 6 19 48 PM

On failure of running graphQL server:

Screenshot 2024-04-15 at 6 29 55 PM

Roadmap

  • Add tailwind to beautify the UI and move the list to table or list UI
  • Add more query examples

About

GraphQL Apollo Client and ReactJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published