{"id":25179228,"url":"https://github.com/dev-palwar/reelink-backend","last_synced_at":"2025-04-04T03:42:40.153Z","repository":{"id":196218372,"uuid":"695064636","full_name":"dev-palwar/reelink-backend","owner":"dev-palwar","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-29T12:07:56.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T15:18:39.508Z","etag":null,"topics":[],"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/dev-palwar.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}},"created_at":"2023-09-22T09:22:07.000Z","updated_at":"2023-09-29T12:29:55.000Z","dependencies_parsed_at":"2023-09-29T14:31:18.198Z","dependency_job_id":null,"html_url":"https://github.com/dev-palwar/reelink-backend","commit_stats":null,"previous_names":["dev-palwar/reelink-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-palwar%2Freelink-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-palwar%2Freelink-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-palwar%2Freelink-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-palwar%2Freelink-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-palwar","download_url":"https://codeload.github.com/dev-palwar/reelink-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117749,"owners_count":20886439,"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":"2025-02-09T15:18:41.207Z","updated_at":"2025-04-04T03:42:40.135Z","avatar_url":"https://github.com/dev-palwar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Backend Of Movies App 🍿 \nThis is the backend codebase of the [reelink](https://reelink.vercel.app) project that handles user authentication using Google authentication and allows users to create accounts, sign in, and manage their movie watchlists.\n\n\n### Prerequisites\n\nBefore running the backend server, make sure you have the following prerequisites installed:\n- Node.js and npm (Node Package Manager)\n- MongoDB\n- Google OAuth 2.0 credentials (client ID and client secret)\n\n### Installation\n\nClone the repository to your local machine:  \n- cd reelink-backend  \n- npm install  \n- npm start  \n\n## Authentication\nThis application uses Google OAuth 2.0 for user authentication. So after installation ensure that you have obtained the required Google OAuth credentials (client ID and client secret) and set them in the .env file.   \n\n## Database\nThis project uses MongoDB as the database. Make sure you have MongoDB installed and provide the database URI in the .env file. And make sure your .env is in the root directory.\n\nThese are the variables you'll need\n\n````\nPORT = 8000                # Port on which the server will run\nMONGO_URL = your-uri       # URI of your MongoDB database\nCLIENT_ID  = your-client-id\nCLIENT_SECRET = your-client-secret\nCLIENT_URL = 'http://localhost:3000'\n\n````\n\n## API Endpoints\n- '/authRoute/callBack' : Handles the Google OAuth callback and creates or authenticates the user.\n- '/logout' : Logs the user OAuth\n- '/getUser' : Retrieves the user's profile information.\n- '/addToWatchlist' : Adds a title to users watchlist collection\n\n\n\n## Frontend\nThe Frontend of this App can be found [here](https://github.com/dev-palwar/movie-app). So follow the REDME file for Frontend setup\n\n\n\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute to this project, please follow these steps:\n\n_Fork the repository  \n_Create a new branch for your feature or bug fix   \n_Make your changes and commit them   \n_Push to your branch    \n_Create pull request  \n\n\u003e If you have any other questions or need further assistance, feel free to reach out to me on Twitter [@dev_palwar2](https://twitter.com/dev_palwar2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-palwar%2Freelink-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-palwar%2Freelink-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-palwar%2Freelink-backend/lists"}