This is a React TypeScript app that displays a list of movies from the Lord of the Rings trilogy, and allows the user to view quotes from each movie.
To install this app, clone the repository to your local machine and install the dependencies using Yarn or NPM:
git clone https://github.com/raymondkdev/lord-of-rings-react-ts.git
cd lord-of-rings-react-ts
yarn install
To start the app, run the following command:
yarn dev
This will start the development server and open the app in your default browser.
- View a list of movies from the Lord of the Rings trilogy.
- View quotes from each movie.
- Infinite scrolling of quotes.
- Caching of character data for improved performance.
src/
├── components/
│ ├── MovieDetails.tsx
│ ├── MovieList.tsx
│ ├── MovieListItem.tsx
│ ├── QuoteList.tsx
│ ├── NotFound.tsx
│ └── ...
├── models/
│ ├── Character.ts
│ ├── Movie.ts
│ └── Quote.ts
├── pages/
│ ├── Home/
│ │ └── index.tsx
│ └── Movie/
│ └── [id].tsx
├── routers/
│ └── index.tsx
├── services/
│ └── LordOfRingsAPI.ts
├── types/
├── utils/
├── App.css
├── App.tsx
├── index.css
├── main.tsx
└── ...
- React
- TypeScript
- Vite
- Axios
- React Router DOM v6
- React Infinite Scroller
This app uses the Lord of the Rings API to fetch data.
This project is licensed under the MIT License.