A full-stack Netflix-inspired streaming platform built with React and Spring Boot, featuring user authentication, video browsing, profile management, and payment processing.
- User Guide - Complete guide for end users
- Developer Guide - Setup and development instructions
- API Documentation - REST API reference
npm install
npm start
cd backend
mvn spring-boot:run
This project includes comprehensive test suites for both client and server side to achieve high test coverage.
- Components Tests:
/src/Components/__tests__/
- Pages Tests:
/src/Pages/__tests__/
- App Tests:
/src/App.test.js
# Run all tests
npm test
# Run tests with coverage report
npm run test:coverage
- Component rendering and props
- User interactions (clicks, form inputs)
- API calls and data fetching
- Routing functionality
- State management
- Controller Tests:
/backend/src/test/java/com/netflixClone/backend/controller/
- Service Tests:
/backend/src/test/java/com/netflixClone/backend/service/
- Model Tests:
/backend/src/test/java/com/netflixClone/backend/model/
- Integration Tests:
/backend/src/test/java/com/netflixClone/backend/integration/
cd backend
# Run all tests
mvn test
# Run tests with coverage report
mvn test jacoco:report
- REST API endpoints
- Service layer business logic
- Data persistence layer
- Model validation
- Integration testing with H2 database
- Client Side: 80%+ coverage on branches, functions, lines, and statements
- Server Side: 100% coverage on critical business logic
- Integration: End-to-end user flows
Globalfooter.test.js
- Footer component testsBrowserNav.test.js
- Navigation component testsBrowse.test.js
- Main browse page testsVideoCard.test.js
- Video card component testsProfilePicker.test.js
- Profile selection testsAddProfile.test.js
- Profile creation testsMyList.test.js
- User list functionality testsMain.test.js
- Landing page testsLogin.test.js
- Authentication testsSignin_component.test.js
- Sign-in form tests
userAccountControllerTest.java
- User account API testspaymentControllerTest.java
- Payment processing API testsuserAccountServiceImplTest.java
- User service logic testsuserAccountTest.java
- User model testsUserAccountIntegrationTest.java
- End-to-end integration tests
package.json
- Updated with coverage thresholds and scriptspom.xml
- Added JaCoCo plugin and H2 test databaseapplication-test.properties
- Test database configuration
Run the tests to ensure all functionality works correctly and maintains high code quality standards.