This is a Next.js project bootstrapped with create-next-app
.
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
To start the project in dev mode:
-
Install the dependencies with
npm install
-
Start the dev server with
npm run dev
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.