{"id":18538428,"url":"https://github.com/bryanbill/showtime-api","last_synced_at":"2025-05-15T02:12:09.099Z","repository":{"id":111164355,"uuid":"363413351","full_name":"bryanbill/showtime-api","owner":"bryanbill","description":"API for the ShowTime App","archived":false,"fork":false,"pushed_at":"2021-10-15T12:59:03.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T07:44:59.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"zone-api.vercel.app","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/bryanbill.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":"2021-05-01T13:12:19.000Z","updated_at":"2021-10-15T12:59:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3dfd1c3-285b-4947-a760-dd8b8b5c1b18","html_url":"https://github.com/bryanbill/showtime-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fshowtime-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fshowtime-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fshowtime-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fshowtime-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanbill","download_url":"https://codeload.github.com/bryanbill/showtime-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259439,"owners_count":22040821,"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":[],"created_at":"2024-11-06T19:43:28.103Z","updated_at":"2025-05-15T02:12:09.081Z","avatar_url":"https://github.com/bryanbill.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Showtime RESTful API - YouTube Clone\n\n\u003e Showtime 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Fshowtime-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanbill%2Fshowtime-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Fshowtime-api/lists"}