Skip to content

Client app for Rick and Morty API. Built with Next.js, GraphQL, TanStack Query, Tailwind CSS & TypeScript.

License

Notifications You must be signed in to change notification settings

onderonur/rick-and-morty-graphql

Repository files navigation

RickQL - Rick And Morty GraphQL App

This is a client application which consumes the Rick and Morty API.

It uses React Server Components and TanStack Query for all the data fetching.

GraphQL Code Generator is used for creating type definitions automatically.

A feature based folder structure has been implemented to keep things organized.

🚀 Live demo is here.

💻 Tech Stack

🧑‍💻 Development

First, we need to install the dependencies:

pnpm install

And run the project in development mode:

pnpm dev

🌐 The Rick and Morty API

This is a really cool public API which provides you the characters, locations and episodes. It has both Rest and GraphQL implementations. So, you can use it to learn and explore new techniques, libraries etc.

You can check it out here.