This web app is able to navigate throw TV Shows, display its seasons and information about shows/seasons/episodes.
For this project to run, make sure these software are installed:
To run locally:
-
Clone this repo
git@github.com:jefersoneiji/j-flix.git
-
Install dependencies in your machine
yarn install
-
Start the front
yarn dev
Execute the following command:
yarn test
yarn lint
Deploy to netlify is done through github actions. The app is only deployed after all tests are green. See: deploy-workflow
By following the principle of colocation, requests, styles and tests are placed as closer as possible to each other. Meaning, that requests may be found in the same file (or folder) containing tests and styles.
Example: In home.tsx
the data loader is inside the home component itself.
Displays navigation bar
Displays all TV Shows
Displays specific show info and episodes by season
Requests are done through the Fetch API. See fetchAPI
Errors are handled in two levels:
- inside the fetchAPI or
- inside the component itself through an error handler. See: home
showsLoader()
- Add storybook to project
- Add more animation to components
- Increase edge cases coverage in tests
Made by Jeferson Eiji ➡️ Get in touch!