{"id":19081630,"url":"https://github.com/geekyharsh05/mycontact-api-backend","last_synced_at":"2026-04-12T13:32:29.503Z","repository":{"id":191069057,"uuid":"683847696","full_name":"geekyharsh05/mycontact-api-backend","owner":"geekyharsh05","description":"This repository contains a Contact Management App built using Express.js and MongoDB.","archived":false,"fork":false,"pushed_at":"2023-09-22T15:15:56.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T20:19:38.217Z","etag":null,"topics":["api-rest","backend","express","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geekyharsh05.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-08-27T22:12:38.000Z","updated_at":"2023-08-27T22:29:51.000Z","dependencies_parsed_at":"2023-08-28T00:28:22.006Z","dependency_job_id":"97d10626-de0e-41dc-8bba-9f4d0acf77f2","html_url":"https://github.com/geekyharsh05/mycontact-api-backend","commit_stats":null,"previous_names":["geekyharsh05/mycontact-api-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fmycontact-api-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fmycontact-api-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fmycontact-api-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fmycontact-api-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekyharsh05","download_url":"https://codeload.github.com/geekyharsh05/mycontact-api-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240131746,"owners_count":19752727,"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":["api-rest","backend","express","mongodb","mongoose","nodejs"],"created_at":"2024-11-09T02:37:43.912Z","updated_at":"2026-04-12T13:32:29.449Z","avatar_url":"https://github.com/geekyharsh05.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contact Management App Express \u0026 MongoDB Rest API \n\nThis repository contains a Contact Management App built using Express.js and MongoDB. The app provides a REST API that allows users to manage their contacts, including creating, updating, deleting, and retrieving contact information.\n\n## Features\n\n- Create a new contact with details such as name, email, phone number, etc.\n- Update an existing contact's information.\n- Delete a contact from the database.\n- Retrieve a list of all contacts or get details for a specific contact.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- Node.js and npm installed on your machine.\n- MongoDB server up and running, or a MongoDB Atlas cluster.\n\n## Getting Started\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone git@github.com:geekyharsh05/mycontact-api-backend.git\n   ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd mycontact-api-backend\n    ```\n\n3. Install the required npm packages:\n\n    ```bash\n    npm install\n    ```\n\n4. Create a .env file in the project root and configure the MongoDB connection URL:\n    \n    ```bash\n    MONGODB_URI=your-mongodb-connection-uri\n    ```\n\n5. Start the server:\n \n    ```bash\n    npm run\n    ```\n5. The API should now be running locally.\n\n## API Endpoints\n\n- **GET /contacts**: Retrieve a list of all contacts.\n- **GET /contacts/:id**: Retrieve details for a specific contact by ID.\n- **POST /contacts**: Create a new contact.\n- **PUT /contacts/:id**: Update contact information by ID.\n- **DELETE /contacts/:id**: Delete a contact by ID.\n\n## Usage\n\nYou can use tools like Postman, Insomnia, or your browser's developer tools to interact with the API. Here are some example API requests:\n\n- **GET /contacts**: Retrieve all contacts.\n- **GET /contacts/5f7b30e7220657839c2baaec**: Retrieve details for a contact with ID `5f7b30e7220657839c2baaec`.\n- **POST /contacts**:\n  \n  ```json\n  {\n    \"name\": \"John Doe\",\n    \"email\": \"john@example.com\",\n    \"phone\": \"123-456-7890\"\n  }\n  ```\n\n## Contributing\n\nContributions are welcome! If you find any issues or want to add enhancements to the app, feel free to open a pull request.\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekyharsh05%2Fmycontact-api-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekyharsh05%2Fmycontact-api-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekyharsh05%2Fmycontact-api-backend/lists"}