This app demonstrates various GraphQL pagination strategies:
| Strategy | Icon | Description |
|---|---|---|
| Offset-based | π | Traditional pagination with page numbers |
| Cursor-based | π | Forward navigation using cursors |
| Relay-style | π― | Bi-directional with forward & backward |
| Infinite Scroll | π | Auto-loading content as you scroll |
You can Create, Read, Update, and Delete anime entries β with a clean UI and smooth pagination.
|
|
anime-graphql-app/
βββ ποΈ backend/ # Apollo Server (GraphQL)
β βββ π data.js # Static anime data
β βββ π schema.js # TypeDefs + Resolvers
β βββ π index.js # Server entry point
β
βββ π» frontend/ # React + Apollo Client
βββ π§© components/ # AnimeCard, Forms, Pagination UIs
βββ π graphql/ # Queries and mutations
βββ π± pages/ # Views like AnimeList
βββ βοΈ App.js # Main App
git clone https://github.com/your-username/anime-graphql-app.git
cd anime-graphql-appcd backend
npm install
node index.jsOpen a new terminal tab or window:
cd frontend
npm install
npm startβ Now the app should be running and connected to your GraphQL backend.
If you find bugs or want to suggest improvements, feel free to fork and raise a PR.
Contributions are welcome! π
Happy Coding! πβ¨


