{"id":25578601,"url":"https://github.com/sakib-333/whereisit-server","last_synced_at":"2026-04-11T13:02:17.033Z","repository":{"id":275897735,"uuid":"912339086","full_name":"sakib-333/whereisit-server","owner":"sakib-333","description":"Serves all api response for the WhereIsIt client side.","archived":false,"fork":false,"pushed_at":"2025-02-12T13:58:54.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T00:52:22.673Z","etag":null,"topics":["cookie","cors","dotenv","expressjs","jwt","mongodb"],"latest_commit_sha":null,"homepage":"https://ph-b10-a11-server.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/sakib-333.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,"zenodo":null}},"created_at":"2025-01-05T09:48:55.000Z","updated_at":"2025-02-12T13:58:58.000Z","dependencies_parsed_at":"2025-02-05T07:18:53.314Z","dependency_job_id":"c8eb7dcb-e431-46f1-9124-ad4cb32835f0","html_url":"https://github.com/sakib-333/whereisit-server","commit_stats":null,"previous_names":["sakib-333/whereisit-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sakib-333/whereisit-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakib-333%2Fwhereisit-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakib-333%2Fwhereisit-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakib-333%2Fwhereisit-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakib-333%2Fwhereisit-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakib-333","download_url":"https://codeload.github.com/sakib-333/whereisit-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakib-333%2Fwhereisit-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266572683,"owners_count":23950073,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cookie","cors","dotenv","expressjs","jwt","mongodb"],"created_at":"2025-02-21T03:16:17.105Z","updated_at":"2025-12-30T22:07:00.088Z","avatar_url":"https://github.com/sakib-333.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhereIsIt\r\n\r\nThis is a Node.js Express server that integrates several npm packages such as Express, MongoDB, Cookie-Parser, CORS, dotenv, JWT (JSON Web Token) Authentication. This one serves the client side of `WhereIsIt`.\r\n\r\n## Features\r\n\r\n- **Express.js**: Web framework for building the server\r\n- **MongoDB**: Database for storing user data and other information\r\n- **JWT Authentication**: Secure user authentication with JSON Web Tokens\r\n- **Cookie-Parser**: Parsing cookies in requests\r\n- **CORS**: Enabling cross-origin requests for the server\r\n- **dotenv**: Environment variable management\r\n\r\n## Prerequisites\r\n\r\nMake sure you have the following installed on your local machine:\r\n\r\n- [Node.js](https://nodejs.org/)\r\n- A **MongoDB** instance (either local or cloud-based like MongoDB Atlas)\r\n\r\n## Installation\r\n\r\n1. Clone the repository to your local machine:\r\n\r\n   ```bash\r\n   git clone git@github.com:sakib-333/whereisit-server.git\r\n\r\n   cd ph-b10-a11-server\r\n   ```\r\n\r\n2. Install dependencies\r\n\r\n   ```bash\r\n   npm install\r\n   ```\r\n\r\n3. Create a `.env` file root of the folder and all of your secret keys.\r\n\r\n   ```bash\r\n   DB_USERNAME=\u003cyour-db-username\u003e\r\n\r\n   DB_PASSWORD=\u003cyour-db-password\u003e\r\n\r\n   JWT_SECRET=\u003cyour-jwt-secret\u003e\r\n\r\n   ```\r\n\r\n4. Start server\r\n\r\n   ```bash\r\n   node index.js\r\n   ```\r\n\r\n5. Your server should now be running on `http://localhost:3000`.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakib-333%2Fwhereisit-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakib-333%2Fwhereisit-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakib-333%2Fwhereisit-server/lists"}