Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leojuriolli7/rick-and-morty-database

Database for the show Rick and Morty, with a list of episodes, characters and locations in the show. Uses Next.js and ISR.
https://github.com/leojuriolli7/rick-and-morty-database

javascript morty next nextjs reactjs rick rick-and-morty rick-and-morty-api rickandmorty typescript

Last synced: 6 days ago
JSON representation

Database for the show Rick and Morty, with a list of episodes, characters and locations in the show. Uses Next.js and ISR.

Awesome Lists containing this project

README

        

# Rick and Morty Rick and Morty Database

This app is a database where one may access a list of all characters, all episodes and all locations from the show. It uses the [Incremental Static Regeneration](https://nextjs.org/docs/basic-features/data-fetching/incremental-static-regeneration) of Next.js to generate static pages.
- When a character is clicked, a modal opens with their status, species, gender, origin, current location and the first and last episode they appeared in.
- When an episode is clicked, a modal opens with all characters present in the episode.
- When a location is clicked, a modal opens with all residents from that location.

This app was created with NextJS and consumes the Rick and Morty API through Axios. It has pagination through Material UI and a Search Input to find specific characters.

The app is deployed on Vercel:
https://rick-and-morty-base.vercel.app/

## Installation

Clone the project:

```bash
git clone [email protected]:leojuriolli7/rick-and-morty-database.git
```

Go to the project directory:

```bash
cd rick-and-morty-database
```

Install the project dependencies:

```bash
npm install
```
## Usage

Start the application:

```bash
npm start
```