Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mahdi-q/movie-character-app-project

A web application for searching about Rick and Morty movie characters, developed using the React.js library
https://github.com/mahdi-q/movie-character-app-project

movie-character rick-and-morty rick-and-morty-api web-app web-application

Last synced: 1 day ago
JSON representation

A web application for searching about Rick and Morty movie characters, developed using the React.js library

Awesome Lists containing this project

README

        

# Movie Character App Project

A web application for searching about Rick and Morty movie characters, developed using the React.js library.

## Table of Contents

- [Installation](#installation)
- [Features](#features)
- [Key Concepts](#key-concepts)
- [Packages](#packages)
- [Acknowledgements](#acknowledgements)
- [Contact Information](#contact-information)

## Installation

### Prerequisites

- Node.js and npm should be installed on your machine.

### Steps

1. Clone the repository:
```bash
git clone https://github.com/mahdi-q/Movie-Character-App-Project.git
```
2. Navigate to the project directory:
```bash
cd Movie-Character-App-Project
```
3. Install the dependencies:
```bash
npm install
```
4. Run the app:
```bash
npm run dev
```
5. Click on the link provided in the terminal to open the app in your browser.

## Features

- **Search Characters**
- **Add Characters to Favourite List**
- **Delete Characters from Favourite List**
- **Sort Character Episodes based on Date**

## Key Concepts

This project explores several important concepts from the React library and JS:

- **Fetching API with Axios**: Retrieve data from an external API using the Axios library.
- **Event Handler Function**: Handle user interactions and events in React.
- **useEffect Hook**: Manage side effects in functional components using the useEffect hook.
- **Clean Up Data Fetching**: Properly cancel API requests and clean up resources.
- **Local Storage**: Store and retrieve data in the browser's local storage.
- **Custom Hook**: Reusable function that encapsulates logic using hooks.

## Packages

Packages used in this project:

- **heroicons**: A set of free, MIT-licensed high-quality SVG icons.
- **axios**: A promise-based HTTP client for making API requests.
- **react-dom**: Manages the DOM rendering for React applications.
- **react-hot-toast**: Provides easy and customizable toast notifications in React.

## Acknowledgements

Special thanks to the [Rick and Morty API](https://rickandmortyapi.com/) for providing the data used in this project. This free and open API made it possible to integrate and explore the fascinating universe of Rick and Morty.

## Contact Information

For any questions or feedback, please contact me at [[email protected]](mailto:[email protected]).

---

Thank you for using the Movie Character App!