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

Getting Started

Install the dependencies (I use npm but use whatever you like here)

npm install

Run the project

npm run dev
# or
yarn dev

Open http://localhost:3001 with your browser to see the result.

This project implements Pagination and Infinite Scroll with the Rick and Morty API

to see the implemented pagination with CSR, go to http://localhost:3001/paginationCSR

to see the implemented pagination with SSR, go to http://localhost:3001/paginationSSR

to see the implemented infinite scroll (CSR), go to http://localhost:3001/infiniteCSR

don't forget to check out my blog on dev.to to read the explainations on how this is implemented!