Angular application connect and use API Ice and Fire. You can read more about the API Github repo or check directly the API site.
This app simulate a login process with NgRx. You don't need to register at all, the login will accept whatever you enter for now.
Allow you to browse almost every books already written. Based on the API, I implemented a simple filter to help you searching for a specific book. You can click on the ID to browse more information about a book.
Allow you to browse almost every houses already existed in the Game of Throne book. Based on the API, I implemented a simple filter to help you searching for a specific house. You can click on the ID to browse more information about a house.
Allow you to browse almost every characters already existed in the book. Based on the API, I implemented a simple filter to help you searching for a specific character. You can click on the ID to browse more information about a character.
Due to the limit of the API, it will be a little tricky to use correctly the filter. It requires you to input exactly the name, the region, or other information.
The API doesn't support a length value to know the total size when I did the pagination to calculate how many pages I should show, so if you see the number is incorrect, please ignore it for now.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run test
to execute the unit tests via Jest.
- Add more tests to increase the coverage
- Implement register and log out
- Move current state of each page into store
Feel free to open a PR or submit an issue, I am happy to work on it.