Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.16 KB

README.md

File metadata and controls

31 lines (17 loc) · 1.16 KB

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