Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asifcopilot/devsecops-netflix
DevSecOps Project to setup Netflix clone on Azure using CICD, Security, Monitoring and GitOps
https://github.com/asifcopilot/devsecops-netflix
cicd devops devops-project devsecops-best-practices jenkins kubernetes-deployment
Last synced: about 1 month ago
JSON representation
DevSecOps Project to setup Netflix clone on Azure using CICD, Security, Monitoring and GitOps
- Host: GitHub
- URL: https://github.com/asifcopilot/devsecops-netflix
- Owner: asifcopilot
- Created: 2024-09-06T07:23:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T09:39:31.000Z (3 months ago)
- Last Synced: 2024-11-22T21:13:31.515Z (about 1 month ago)
- Topics: cicd, devops, devops-project, devsecops-best-practices, jenkins, kubernetes-deployment
- Language: TypeScript
- Homepage: https://asifcopilot.tech
- Size: 6.91 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Table of Contents
Prerequests
Which features this project deals with
- Third Party libraries used except for React and RTK
Contact
Home Page
Mini Portal
Detail Modal
Grid Genre Page
Watch Page with customer contol bar
## Prerequests
- Create an account if you don't have on [TMDB](https://www.themoviedb.org/).
Because I use its free API to consume movie/tv data.
- And then follow the [documentation](https://developers.themoviedb.org/3/getting-started/introduction) to create API Key
- Finally, if you use v3 of TMDB API, create a file named `.env`, and copy and paste the content of `.env.example`.
And then paste the API Key you just created.## Which features this project deal with
- How to create and use [Custom Hooks](https://reactjs.org/docs/hooks-custom.html)
- How to use [Context](https://reactjs.org/docs/context.html) and its provider
- How to use lazy and Suspense for [Code-Splitting](https://reactjs.org/docs/code-splitting.html)
- How to use a new [lazy](https://reactrouter.com/en/main/route/lazy) feature of react-router to reduce bundle size.
- How to use data [loader](https://reactrouter.com/en/main/route/loader) of react-router, and how to use redux dispatch in the loader to fetch data before rendering component.
- How to use [Portal](https://reactjs.org/docs/portals.html)
- How to use [Fowarding Refs](https://reactjs.org/docs/forwarding-refs.html) to make components reusuable
- How to create and use [HOC](https://reactjs.org/docs/higher-order-components.html)
- How to customize default theme of [MUI](https://mui.com/)
- How to use [RTK](https://redux-toolkit.js.org/introduction/getting-started)
- How to use [RTK Query](https://redux-toolkit.js.org/rtk-query/overview)
- How to customize default classname of [MUI](https://mui.com/material-ui/experimental-api/classname-generator)
- Infinite Scrolling(using [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API))
- How to make awesome carousel using [slick-carousel](https://react-slick.neostack.com)## Third Party libraries used except for React and RTK
- [[email protected]](https://reactrouter.com/en/main)
- [MUI(Material UI)](https://mui.com/)
- [framer-motion](https://www.framer.com/docs/)
- [video.js](https://videojs.com)
- [react-slick](https://react-slick.neostack.com/)## Install with Docker
```sh
docker build --build-arg TMDB_V3_API_KEY=your_api_key_here -t netflix-clone .docker run --name netflix-clone-website --rm -d -p 80:80 netflix-clone
```## Todo
- Make the animation of video card portal more similar to Netflix.
- Improve performance. I am using `context` and `provider` but all components subscribed to the context's value are re-rendered. These re-renders happen even if the part of the value is not used in render of the component. there are [several ways](https://blog.axlight.com/posts/4-options-to-prevent-extra-rerenders-with-react-context/) to prevent the re-renders from these behaviours. In addition to them, there may be several performance issues.
- Replace bundler([Vite](https://vitejs.dev/guide)) with [Turbopack](https://turbo.build/pack/docs/why-turbopack). Turbopack is introduced in Next.js conf recently. It's very fast but it's nor ready to use right now. it just support Next.js, and they plan to support all others as soon as possible. so if it's ready to use, replace [Vite](https://vitejs.dev/guide) with [Turbopack](https://turbo.build/pack/docs/why-turbopack).
- Add accessibilities for better UX.
- Add Tests.