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.
Make sure you have Node.js installed on your machine.
- Clone the repository:
git clone https://github.com/diazelena325/rick_morty.git
cd rick_morty
- Install dependencies:
npm install
- Run the development server:
npm run dev
Visit http://localhost:3000 in your browser to see the application.
- 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.
- 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.
- Next.js
- React
- TypeScript
- CSS