Link: GitHub - karlhadwen/netflix: Subscribe to my YouTube channel: https://bit.ly/CognitiveSurge - Building Netflix Using React API: Getting Started
- Should have at least five pages (/signin, /signup, /series, /film, /)
- For /signin and signup at least should be present(e.g. Sign in form, Sign up form as shown in original project) even though the actual functionality are not present
- Movies or series should be searchable
- Don’t miss out the feature from the original project.
- Series and Films page can only be seen when user successfully sign in otherwise redirect to corresponding sign in or login page.
- When user click the play button, user can play the trailer of corresponding series or film.
- Use React’s Suspense whenever possible to mitigate blocking ui and streaming HTML.
- Use fetch function for all data fetching.
- Use server component as much as possible whenever we need to fetch data. Ensure that SEO works.
- Can use Routing group , Parallel Route accordingly to build an application.
- Migrate react 16 to Next.js 13
- migrate project to have typescript with config file
- all types should be checked
- use some of Utility types (typescript)
- no any type
- unit test functionality with Jest
- optimize for performance
- create custom decorators
- using the following types:
- Generics
- Mapped Types
- Conditional Types
- Indexed Access Types
- Utility Type
- Implement sign in and sign out functionality by using third party provider( e.g. Github or Google)
-add NX and Cypress to Nerdflix 1
- separate each page as micro-frontend
- shared assets, shared components and shared etc should be in shared lib
- could run services individually
- take advantages of Nx-Cloud to see how fast it is when deploying a micro service app
- have Nx commands for all services : run-build-test-lint and see how they work in local and staging
- add typescript
- Each page should have e2e itself
- E2E testing (Can sample only login flow)
- Component testing (Focus on this)
- Code Coverage 81%