{"id":13602400,"url":"https://github.com/techreagan/youtube-clone-nodejs-api","last_synced_at":"2025-04-13T00:47:46.164Z","repository":{"id":37979693,"uuid":"252571158","full_name":"techreagan/youtube-clone-nodejs-api","owner":"techreagan","description":"VueTube is a YouTube clone built with nodejs, expressjs \u0026 mongodb. This is the RESTful API repository.","archived":false,"fork":false,"pushed_at":"2024-06-03T22:50:44.000Z","size":1242,"stargazers_count":666,"open_issues_count":4,"forks_count":235,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-13T00:47:38.917Z","etag":null,"topics":["expressjs","mongodb","mongoose","nodejs","vuejs","youtube-clone","youtube-node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techreagan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-02T21:44:29.000Z","updated_at":"2025-04-06T19:56:05.000Z","dependencies_parsed_at":"2024-09-29T15:01:13.005Z","dependency_job_id":null,"html_url":"https://github.com/techreagan/youtube-clone-nodejs-api","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"5a9a674eaeb36584afa17edb5f8ccab89345099a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Fyoutube-clone-nodejs-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Fyoutube-clone-nodejs-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Fyoutube-clone-nodejs-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Fyoutube-clone-nodejs-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techreagan","download_url":"https://codeload.github.com/techreagan/youtube-clone-nodejs-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650435,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","mongodb","mongoose","nodejs","vuejs","youtube-clone","youtube-node"],"created_at":"2024-08-01T18:01:22.182Z","updated_at":"2025-04-13T00:47:46.143Z","avatar_url":"https://github.com/techreagan.png","language":"JavaScript","readme":"# VueTube RESTful API - YouTube Clone\n\n\u003e VueTube is a YouTube clone built with nodejs, expressjs \u0026 mongodb.\n\n## Features\n\n\u003e CRUD (Create, Read, Update And Delete)\n\n- Authentication with JWT (Reset Password with email)\n  - Login (User/Admin)\n  - Register\n  - Forgot Password\n- Pagination and search where necessary\n- API Security (NoSQL Injections, XSS Attacks, http param pollution etc)\n- Video (CRUD)\n  - Upload video\n  - Upload video thumbnail\n  - Watch video\n  - Increase Views\n  - Like and dislike video\n  - Download video\n  - Comment \u0026 reply for video\n  - Update video details\n  - Delete video\n- Subscribe to a channel\n- View liked videos\n- Trending\n- Subscriptions\n- History (CRUD)\n  - Watch history\n  - Search history\n- Settings\n  - Modify channel name and email\n  - Change password\n  - Upload channel avatar\n\n## Frontend Repo\n\nFrontend was developed with vue js and vuetify [VueTube](https://github.com/techreagan/vue-nodejs-youtube-clone)\n\n## API Documentation\n\nHosted on netlify: [Coming Soon]()\n\nExtensive and testing documentation with postman: [VueTube API](https://documenter.getpostman.com/view/9407876/SzYaVdtC?version=latest)\n\n## Database Model\n\nThough the diagram uses sql data type, this diagram is to show you the various collections in the mongo database.\n\n![Screenshot](screenshots/vue_tube_ERD.jpg)\n\n## Requirement\n\n- NodeJS\n- MongoDB\n\n## Configuration File\n\nRename the config/.env.example to .env, then modify to your environment variables, mongodb uri, set your JWT_SECRET and SMTP variables\n\n```ENV\nNODE_ENV=development\nPORT=3001\n\nMONGO_URI=YOUR_URL\n\nJWT_SECRET=YOUR_SECRET\nJWT_EXPIRE=30d\nJWT_COOKIE_EXPIRE=30\n\nFILE_UPLOAD_PATH = ./public/uploads\nMAX_FILE_UPLOAD = 1000000\n\nSMTP_HOST=smtp.mailtrap.io\nSMTP_PORT=2525\nSMTP_EMAIL=\nSMTP_PASSWORD=\nFROM_EMAIL=noreply@quizapp.com\nFROM_NAME=QuizzApp\n```\n\nEmail testing: use mailtrap for email testing, it's easy no stress.\n\n## Installation\n\nInstall all npm dependecies\n\n```console\nnpm install\n```\n\nInstall nodemon globally\n\n```console\nnpm install -g nodemon\n```\n\n### Note\n\nMake sure you run the seeder to get categories in your database or Create a user with the role admin, then add category with the category endpoint.\n\nRun database seeder\n\n- Seeder folder is \\_data/\n- Edit the seeder file if you want to\n\n```console\nnode seeder -i\n```\n\nDelete all data\n\n```console\nnode seeder -d\n```\n\n## Start web server\n\n```console\nnode run dev\n```\n\n## Screenshots\n\n\u003e Delete the screenshot folder if you download this code (Screenshots folder is 3.14mb in size).\n\n### Sign In\n\n![Screenshot](screenshots/20%20-%20Sign%20in.jpg)\n\n### Sign Up\n\n![Screenshot](screenshots/21%20-%20Sign%20up.jpg)\n\n### Home Page\n\n![Screenshot](screenshots/1%20-%20Home.jpg)\n\n### Watch Page\n\n![Screenshot](screenshots/7%20-%20Watch.jpg)\n\n### Upload Thumbnail Modal\n\n![Screenshot](screenshots/16%20-%20Upload%20Thumbnail%20Modal.jpg)\n\nFor more screenshots check out the vue frontend repo [VueTube](https://github.com/techreagan/vue-nodejs-youtube-clone)\n\n## License\n\nThis project is licensed under the MIT License\n\n## Developed by Reagan Ekhameye (Tech Reagan)\n\nReach me on twitter [@techreagan](https://www.twitter.com/techreagan)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Fyoutube-clone-nodejs-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechreagan%2Fyoutube-clone-nodejs-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Fyoutube-clone-nodejs-api/lists"}