To get started with this project, follow the steps below:
-
Clone the repository to your local machine:
git clone https://github.com/Harshcreator/CreatorCentral.git
-
Install the required dependencies:
npm install
-
Set up the environment variables:
- Create a
.env
file in the root directory of the project. - Add the following variables to the
.env
file:PORT=8000 MONGODB_URI=mongodb://localhost:27017/your-database JWT_SECRET=your-secret-key CORS_ORIGIN= ACCESS_TOKEN_SECRET= ACCESS_TOKEN_EXPIRY= REFRESH_TOKEN_SECRET= REFRESH_TOKEN_EXPIRY= CLOUDINARY_CLOUD_NAME= CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET=
- Create a
-
Start the development server:
npm run dev
This project includes the following features:
- User authentication and authorization using JWT and bcrypt.
- User registration and login functionality.
- Video upload and management.
- Like, dislike, comment, and reply functionality.
- Subscription and notification system.
https://app.eraser.io/workspace/eNUUDhNvpqVsQmDbJyen?origin=share
This project is a complex backend project that is built with nodejs, expressjs, mongodb, mongoose, jwt, bcrypt, and many more. This project is a complete backend project that has all the features that a backend project should have. We are building a complete video hosting website similar to youtube with all the features like login, signup, upload video, like, dislike, comment, reply, subscribe, unsubscribe, and many more.
Project uses all standard practices like JWT, bcrypt, access tokens, refresh Tokens and many more. We have spent a lot of time in building this project and we are sure that you will learn a lot from this project.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.
If you have any questions or need further assistance, feel free to contact at [[email protected]]