This project was bootstrapped with Create React App.
npm i
npm run start
Running the app on: http://localhost:3000
To run the test case npm run test -- --watchAll=false
Test are written on the folder __test__
- When Navigation bar height is set to 192px , height rapidly increase , so reduced the size
- When user initially moved to the bottom there will be loader for loading the remaining list. In realtime the data will be fetched from the api so added a
setTimeOut()
when fetching list
[On file (Line No: 22)](https://github.com/abhisawesome/OTT-Clone/blob/main/src/hooks/fetchMovie.js)
- For functional components only added the snapshot testing
- added github actions for auto-deploy
File - Docker file to run on local :
docker build -t ott-clone . && docker run -p 3001:3000 ott-clone