A scalable cloud-based video streaming platform featuring secure authentication, high-performance media delivery, AWS cloud integration, and modern full-stack architecture.
StreamSphere is a production-ready video streaming platform inspired by modern OTT applications. It allows users to securely upload, manage, stream, and organize video content while leveraging AWS cloud services for scalable media storage.
The project follows industry-standard backend architecture using NestJS, Next.js, MongoDB, AWS S3, Docker, and JWT Authentication.
| π Authentication | π₯ Video Management | βοΈ Media Storage |
|---|---|---|
| β User Registration | β Upload Videos | β AWS S3 Upload |
| β Secure Login | β Delete Videos | β Secure File Storage |
| β JWT Authentication | β Edit Metadata | β Signed URLs |
| β Refresh Tokens | β Categories | β Thumbnail Storage |
| β Protected APIs | β Thumbnail Upload | β Automatic File Removal |
| β Role-Based Authorization | β Video Details |
| π€ User Features | π Admin Features |
|---|---|
| β Profile Management | β Dashboard |
| β Watch History | β User Management |
| β Continue Watching | β Content Management |
| β Search Videos | β Analytics Ready |
| β Responsive UI |
| Category | Technologies |
|---|---|
| Frontend | |
| Backend | |
| Database | |
| Cloud | |
| DevOps | |
| API Documentation & Testing | |
| Version Control |
StreamSphere
βββ frontend
β βββ app
β βββ components
β βββ hooks
β βββ services
β βββ utils
β
βββ backend
β βββ src
β β βββ auth
β β βββ users
β β βββ videos
β β βββ uploads
β β βββ common
β β βββ config
β β
β βββ Dockerfile
β
βββ docker-compose.yml
βββ README.md
βββ .env.example
git clone https://github.com/jyoti1900/StreamSphere.git
cd StreamSpherecd backend
npm installcd frontend
npm installBackend
PORT=3000
MONGO_URI=<your_mongodb_connection_string>
JWT_SECRET=<your_jwt_secret>
JWT_REFRESH_SECRET=<your_jwt_refresh_secret>
AWS_REGION=<your_aws_region>
AWS_ACCESS_KEY_ID=<your_access_key_id>
AWS_SECRET_ACCESS_KEY=<your_secret_access_key>
AWS_BUCKET_NAME=<your_s3_bucket_name>
CLOUDFRONT_URL=<your_cloudfront_distribution_url>Frontend
NEXT_PUBLIC_API_URL=http://localhost:3000Backend
npm run start:devFrontend
npm run devBuild
docker-compose buildRun
docker-compose up -dStop
docker-compose down| Module | Description |
|---|---|
| π Authentication | User registration, login, JWT, refresh tokens |
| π€ Users | User profile and account management |
| π₯ Videos | Upload, update, delete, and stream videos |
| βοΈ Uploads | Media upload and file handling |
| π Categories | Video categorization and organization |
| π Search | Search and filter videos |
| π Dashboard | Analytics and administrative overview |
| Security Feature | Purpose |
|---|---|
| π JWT Authentication | Secure user authentication |
| π Password Hashing | Encrypt user passwords |
| π‘ Protected Routes | Restrict unauthorized access |
| β Environment Variables | Secure configuration management |
| βοΈ AWS IAM Permissions | Controlled cloud resource access |
| π€ Secure File Upload | Safe media upload handling |
| β Input Validation | Prevent invalid or malicious input |
| π Request Validation | Ensure API request integrity |
| Optimization | Benefit |
|---|---|
| β‘ Lazy Loading | Faster initial page load |
| π Optimized MongoDB Queries | Reduced database response time |
| πΌ Image Compression | Lower bandwidth usage |
| π Efficient API Design | Improved backend performance |
| π Modular Architecture | Better scalability and maintainability |
| βοΈ Cloud Storage | Reliable and scalable media storage |
| π³ Dockerized Deployment | Consistent development and production environments |
| π TypeScript Strict Mode | Improved code quality and reliability |
| Feature | Description |
|---|---|
| π‘ Live Streaming | Real-time video broadcasting |
| π€ Video Recommendations | AI-powered personalized suggestions |
| π³ Subscription Plans | Premium membership support |
| π° Payment Gateway | Secure online payments |
| π AI Video Search | Intelligent content discovery |
| π Notifications | Real-time user alerts |
| π₯ Watch Together | Shared viewing experience |
| π Multi-language Support | Localization for global users |
| π Analytics Dashboard | Advanced insights and reporting |
Contributions are welcome.
-
Fork the repository
-
Create your feature branch
git checkout -b feature/new-feature- Commit changes
git commit -m "Add new feature"- Push
git push origin feature/new-feature- Create Pull Request
This project is licensed under the MIT License.
| Team Member | Contribution |
|---|---|
| Jyotipriya Das | π Project Lead, Backend Development, Cloud Infrastructure (AWS), CI/CD Pipeline, Docker, System Architecture |
| Sayan Pal | π» Full Stack Development, Testing, Debugging, UI/UX Implementation |
| Indrajit Sahu | π¨ Frontend Development, UI Components, User Experience |
β If you found this project helpful, consider giving it a Star!


