{"id":19002882,"url":"https://github.com/moaraby/contact-manager-app-nodejs","last_synced_at":"2026-04-10T11:31:56.101Z","repository":{"id":233044116,"uuid":"784482050","full_name":"MoARABY/contact-manager-app-nodeJS","owner":"MoARABY","description":"Restful api app ","archived":false,"fork":false,"pushed_at":"2024-04-12T20:36:13.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T13:43:55.794Z","etag":null,"topics":["authentication","authroization","crud-api","expressjs","javascript","jwt","mongodb","nodejs"],"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/MoARABY.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}},"created_at":"2024-04-09T23:55:00.000Z","updated_at":"2024-08-14T07:23:54.000Z","dependencies_parsed_at":"2024-04-13T04:05:26.158Z","dependency_job_id":"69a513af-81d5-44e6-beec-5ca49b29bcee","html_url":"https://github.com/MoARABY/contact-manager-app-nodeJS","commit_stats":null,"previous_names":["moaraby/contact-manager-app-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoARABY/contact-manager-app-nodeJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fcontact-manager-app-nodeJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fcontact-manager-app-nodeJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fcontact-manager-app-nodeJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fcontact-manager-app-nodeJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoARABY","download_url":"https://codeload.github.com/MoARABY/contact-manager-app-nodeJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoARABY%2Fcontact-manager-app-nodeJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["authentication","authroization","crud-api","expressjs","javascript","jwt","mongodb","nodejs"],"created_at":"2024-11-08T18:17:19.531Z","updated_at":"2026-04-10T11:31:56.084Z","avatar_url":"https://github.com/MoARABY.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eContact Management System - Backend\u003c/h1\u003e  \nThis repository contains the backend code for a contact management system built using Node.js, Express, and MongoDB.\n\n\u003ch2\u003eFeatures\u003c/h2\u003e \nCRUD operations for managing contacts\nUser authentication and authorization using JWT and bcrypt\nMiddleware for request validation and error handling\nSeparation of concerns using controllers, models, and routes\n\n\u003ch2\u003eTechnologies Used\u003c/h2\u003e \n\u003cul\u003e\n  \u003cli\u003eNode.js\u003c/li\u003e\n  \u003cli\u003eExpress.js\u003c/li\u003e\n  \u003cli\u003eMongoDB\u003c/li\u003e\n  \u003cli\u003eJSON Web Tokens (JWT) for authentication\u003c/li\u003e\n  \u003cli\u003ebcrypt for password hashing\u003c/li\u003e\n  \u003cli\u003edotenv\u003c/li\u003e\n  \u003cli\u003eexpress-async-handler\u003c/li\u003e\n  \u003cli\u003emongoose\u003c/li\u003e\n  \u003cli\u003enodemon\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eSetup Instructions\u003c/h2\u003e\n\n\u003cul\u003e\n  \u003cli\u003e \u003eClone the repository:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e git clone https://github.com/your-username/contact-management-backend.git\u003c/li\u003e\n\u003c/ul\u003e\n\nInstall dependencies:\n\u003cul\u003e\n  \u003cli\u003e \u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e cd contact-management-backend\u003c/li\u003e\n  \u003cli\u003e \u003e npm install\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cul\u003e\n  \u003cli\u003e \u003e Create a .env file in the root directory.\u003c/li\u003e\n  \u003cli\u003e \u003e Add the following environment variables:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e makefile\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e PORT=3000\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e MONGODB_URI=your-mongodb-connection-string\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e JWT_SECRET=your-jwt-secret\u003c/li\u003e\n\u003c/ul\u003e\nConfigure environment variables:\n\u003cul\u003e\n  \u003cli\u003e \u003e Start the server:\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e bash\u003c/li\u003e\n  \u003cli\u003e \u003e\u003e npm start\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eAPI Endpoints\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003ePOST /api/users/register: Register a new user.\u003c/li\u003e\n  \u003cli\u003ePOST /api/users/login: Login with email and password to get JWT token.\u003c/li\u003e\n  \u003cli\u003eGET /api/contacts: Get all contacts.\u003c/li\u003e\n  \u003cli\u003ePOST /api/contacts: Create a new contact.\u003c/li\u003e\n  \u003cli\u003eGET /api/contacts/:id: Get a contact by ID.\u003c/li\u003e\n  \u003cli\u003ePUT /api/contacts/:id: Update a contact by ID.\u003c/li\u003e\n  \u003cliDELETE /api/contacts/:id: Delete a contact by ID.\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eFolder Structure\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003emiddlewares/: Custom middleware functions.\u003c/li\u003e\n  \u003cli\u003econtrollers/: Request handlers for each route.\u003c/li\u003e\n  \u003cli\u003emodels/: Mongoose schemas and models.\u003c/li\u003e\n  \u003cli\u003eroutes/: Express routes for different endpoints.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eContributing\u003c/h2\u003e \nContributions are welcome! Please fork the repository and submit a pull request.\n\n\u003ch2\u003eLicense\u003c/h2\u003e \nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaraby%2Fcontact-manager-app-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoaraby%2Fcontact-manager-app-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoaraby%2Fcontact-manager-app-nodejs/lists"}