- Search characters by name
- Filter characters by race (multiple races can be selected)
- Filter characters by gender (Male/Female/Any)
- Sort characters by name (ascending/descending)
- Paginate through character results
- Limit number of characters per page (5/10/20/50)
- View detailed information about selected characters
To get started with LotR Explorer, follow these steps:
- Clone the repository:
git clone https://github.com/mubashir-angathil/lotr-explorer.git
- Install dependencies:
cd lotr-explorer
npm install
- Create a
.env.development
file in the root directory of the project and add the following configuration:
REACT_APP_ACCESS_TOKEN=your_access_token_here
REACT_APP_ENDPOINT=https://the-one-api.dev/v2/
Replace your_access_token_here
with your actual API token obtained from The Lord of the Rings API.
- Start the development server:
npm start
- Open http://localhost:3000 in your browser to view the application.