Welcome to the backend repository of our YouTube-like app. This backend is responsible for managing video uploads, fetching videos, and more. Below, you'll find detailed information about the technologies used and how to get started.
- Language: JavaScript
- Backend Framework: Express.js
- Database: MongoDB
- ORM: Mongoose
- Storage: Cloudinary
- ** Video Management **
- ** Playlist Managmet **
- ** User Interaction **
- ** Likes on videos **
- ** Comment on Videos **
- ** Tweet Segment **
- ** user tweet like on tweeter **
- ** like on Tweet **
Make sure you have the following installed on your machine:
-
Clone the Repository:
git clone https://github.com/0x-pankaj/our_youtube_backend.git cd our_youtube_backend
npm install
-
PORT=8000
-
MONGODB_URI=mongodb+srv://:@cluster0.vznzlsd.mongodb.net
-
CORS_ORIGIN= *
-
ACCESS_TOKEN_SECRET=d7vm4vBCvetpCbJENpUpvojqp50iGPYDm7yM
-
ACCESS_TOKEN_EXPIRY=1d
-
REFRESH_TOKEN_SECRET=o7JeWjtQxroLtbHSHtoFt1cecpMvCtsRB4E=
-
REFRESH_TOKEN_EXPIRY=10d
-
CLOUDINARY_CLOUD_NAME=cloudname
-
CLOUDINARY_API_KEY=api_key
-
CLOUDINARY_API_SECRET=api_secret
** From Root
npm run dev
** We leverage MongoDB's aggregation pipeline for efficient data processing and retrieval. **