Skip to content

A Next.js project that uses React Server Components and takes the data from Rick and Morty API

Notifications You must be signed in to change notification settings

breizh24/rick-and-morty-project

Repository files navigation

Rick and Morty Characters

This is a Next.js project bootstrapped with create-next-app.

Start the Project in Production Mode

To start the project in production mode:

  • Install the dependencies with npm install

  • Build the project and start the server with npm run preview

  • Open http://localhost:3000 with your browser to see the result

Start the Project in Dev Mode

To start the project in dev mode:

  • Install the dependencies with npm install

  • Start the dev server with npm run dev

About the Project

This project uses the GraphQL endpoint of the Rick and Morty Api to get the characters info, the types are generated using graphql-codegen.

The styling of the elements is made using Styled Components and CSS Tokens.

About

A Next.js project that uses React Server Components and takes the data from Rick and Morty API

Resources

Stars

Watchers

Forks