Skip to content

The Rick and Morty Image Feed is a Next.js application utilizing React and TypeScript to implement an interactive image feed, fetching and displaying episodes and characters from the Rick and Morty API.

Notifications You must be signed in to change notification settings

diazelena325/rick_morty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rick and Morty Image Feed

Overview

This project is a Next.js application built with React and TypeScript that implements an Image Feed using the public API provided by Rick and Morty API. The main features include displaying a list of episodes on the initial page load, highlighting the selected episode, and updating the main view with characters from the selected episode.

Demo

Installation

Make sure you have Node.js installed on your machine.

  1. Clone the repository:
git clone https://github.com/diazelena325/rick_morty.git
cd rick_morty
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev

Visit http://localhost:3000 in your browser to see the application.

Usage

Initial Page Load

  • The left side-nav displays a list of episodes retrieved from the API endpoint.
  • Each episode in the list is clickable.
  • On initial load, the main view displays character images from first page in the API endpoint.

Selecting an Episode

  • Clicking on an episode in the left side-nav highlights it with a dark border and a different color.
  • The main view updates the characters' images and names from the selected episode.
  • Selecting a different episode highlights new active episode.
  • Unselecting currently active episode, the view reverts to the initial page load state.

Technologies Used

  • Next.js
  • React
  • TypeScript
  • CSS

About

The Rick and Morty Image Feed is a Next.js application utilizing React and TypeScript to implement an interactive image feed, fetching and displaying episodes and characters from the Rick and Morty API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published