{"id":19456983,"url":"https://github.com/galibmia/contact-management-server","last_synced_at":"2026-04-11T16:43:18.435Z","repository":{"id":259710264,"uuid":"879225501","full_name":"galibmia/contact-management-server","owner":"galibmia","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-27T15:53:06.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T10:53:59.520Z","etag":null,"topics":["cors","dotenv","jwt","mongodb"],"latest_commit_sha":null,"homepage":"https://contact-management-app-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/galibmia.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":"2024-10-27T10:55:59.000Z","updated_at":"2024-10-27T15:53:09.000Z","dependencies_parsed_at":"2024-10-27T14:12:37.578Z","dependency_job_id":"62d1e9e8-4d0b-4d92-b76f-43fd92fd66d1","html_url":"https://github.com/galibmia/contact-management-server","commit_stats":null,"previous_names":["galibmia/contact-management-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/galibmia/contact-management-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galibmia%2Fcontact-management-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galibmia%2Fcontact-management-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galibmia%2Fcontact-management-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galibmia%2Fcontact-management-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galibmia","download_url":"https://codeload.github.com/galibmia/contact-management-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galibmia%2Fcontact-management-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31687881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cors","dotenv","jwt","mongodb"],"created_at":"2024-11-10T17:19:27.361Z","updated_at":"2026-04-11T16:43:18.412Z","avatar_url":"https://github.com/galibmia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contact Management App - Backend\n\nThis is the backend for the Contact Management App, built using Node.js and Express. It provides RESTful APIs for managing contacts, including creating, reading, updating, and deleting contacts.\n\n## Table of Contents\n- [Technologies Used](#technologies-used)\n- [Setup](#setup)\n- [API Endpoints](#api-endpoints)\n- [Running the Application](#running-the-application)\n- [Testing the API](#testing-the-api)\n\n## Technologies Used\n- Node.js\n- Express\n- MongoDB (with Mongoose)\n- JWT (JSON Web Tokens) for authentication\n- Dotenv for environment variables\n\n## Setup\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/galibmia/contact-management-server\n   cd contact-management-app-backend\n   ```\n\n2. **Install Dependencies**:\n   Make sure you have [Node.js](https://nodejs.org/) installed. Then, run:\n   ```bash\n   npm install\n   ```\n\n3. **Environment Variables**:\n   Create a `.env` file in the root directory and set the following variables:\n   ```plaintext\n   PORT=5000\n   MONGO_URI=\u003cyour_mongo_database_connection_string\u003e\n   JWT_SECRET=\u003cyour_jwt_secret_key\u003e\n   ```\n\n## API Endpoints\n### Authentication\n- **POST** `/api/auth/register`: Register a new user\n- **POST** `/api/auth/login`: Login an existing user\n\n### Contacts\n- **GET** `/api/contacts`: Get all contacts (requires authentication)\n- **POST** `/api/contacts`: Create a new contact (requires authentication)\n- **GET** `/api/contacts/:id`: Get a specific contact by ID (requires authentication)\n- **PUT** `/api/contacts/:id`: Update a specific contact by ID (requires authentication)\n- **DELETE** `/api/contacts/:id`: Delete a specific contact by ID (requires authentication)\n\n## Running the Application\n1. **Start the Server**:\n   ```bash\n   npm start\n   ```\n\n2. **Access the API**:\n   The backend will run on `http://localhost:5000` by default.\n\n3. **Testing the API**:\n   You can use tools like Postman or cURL to test the API endpoints.\n\n## Contributing\nContributions are welcome! If you have suggestions for improvements or new features, feel free to create a pull request or open an issue.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalibmia%2Fcontact-management-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalibmia%2Fcontact-management-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalibmia%2Fcontact-management-server/lists"}