This project is built for Advanced React course at SoftUni. Interesting Star Wars data is fetched from GraphQL Server, provided by ST6 and located at: https://swapp.st6.io/graphql.
For Login, use the following credentials:
- Email: demo@st6.io
- Password: demo1234
The user can choose between light and dark theme.
If there is some kind of an error during login, an appropriate info message is shown on the frontend (‘Invalid Credentials’).
The app is fully responsive. Custom mobile menu toggle functionality is implemented.
The app has pagination that loads more data wherever applicable (List characters page and in Single episode page).
The components are unit-tested with jest and enzyme.
Routes are implemented via react-router-dom.
If the user is not registered, he is always redirected to the login page.
If the user has been registered, he can see the following pages:
- /episodes
- /episodes/:id
- /characters
- /characters/:id
- /starships/:id