This is project that shows the data exposed by the API anapioficeandfire
, which can be found here
Run the project:
- To run this application please install node 12+ on your machine.
- Inside the project folder please run
npm install
- Inside the project folder please run
ng serve
and openlocalhost:4200/
Features
Non authorized users:
Should be able to browse different entities (books, houses, characters) Should be able to filter out the entities inside the lists Should be able to login or register
Authorized users:
Should have all functionalities that non authorized users have
Should be able to logout
Should be able to add entities to favorites
Should have favorites
options in the sidebar
Should have favorites
that display all favorites enmities
Flows
-
The auth logic is in memory, so the state of user credentials or favorites selection will be lost on refresh
-
There are no guards for the routing
-
There is a lot of inline CSS that should be moved to the scss files
-
The work seen here was done under 10 hours in the time span of 3 days
-
Use the master branch !!!