🎬 BoredTube is a video sharing service similar to YouTube, with built-in Twitter-like features. This project provides a complete video management system. It includes user management, video upload and editing, tweet management, subscription management, playlist management, and more. Built with Node.js, Express.js, and MongoDB, BoredTube is strong and can grow easily. It connects with Cloudinary for storing media and uses JWT for secure login. With detailed API documentation and a focus on user experience, BoredTube aims to offer a smooth and efficient video management system.
Content | Link |
---|---|
API Documentation | click here |
Data Model | click here |
Create a .env
file in the root directory of the project and populate it with the variables in .env.sample
file.
git clone https://github.com/sujal-goswami/BoredTube.git
cd boredtube
npm install
To run the application in development mode:
npm run dev
To run the application in production mode:
npm run start
To run the tests:
npm run test
To build and run the application using Docker:
docker build --target development -t boredtube:latest .
docker run -d --name boredtube -p 8000:8000 \
-e PORT=8000 \
-e MONGODB_URL=your_mongodb_url \
-e CORS_ORIGIN=your_cors_origin \
-e ACCESS_TOKEN_SECRET=your_access_token_secret \
-e ACCESS_TOKEN_EXPIRY=your_access_token_expiry \
-e REFRESH_TOKEN_SECRET=your_refresh_token_secret \
-e REFRESH_TOKEN_EXPIRY=your_refresh_token_expiry \
-e CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name \
-e CLOUDINARY_API_KEY=your_cloudinary_api_key \
-e CLOUDINARY_API_SECRET=your_cloudinary_api_secret \
boredtube:latest
This project uses GitHub Actions for CI/CD. The workflows are defined in the .github/workflows
directory.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. Let's make 🎬BoredTube even better together! for more details refer CONTRIBUTING.md .
🎬BoredTube is licensed under the MIT License. Feel free to modify, distribute, and use the code for personal or commercial projects.