{"id":21068738,"url":"https://github.com/uwancha/mp-blog-backend","last_synced_at":"2026-04-13T03:03:38.598Z","repository":{"id":229722882,"uuid":"776811098","full_name":"Uwancha/MP-Blog-Backend","owner":"Uwancha","description":"Backend for a blog application with authentication functionality. Built with Node.js, Express.js, MongoDB, and JWT authentication. ","archived":false,"fork":false,"pushed_at":"2024-04-08T18:47:47.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T02:22:47.090Z","etag":null,"topics":["bcryptjs","express","jwt","mongodb","mongoose","nodejs","restful-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Uwancha.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":"2024-03-24T14:13:54.000Z","updated_at":"2024-03-25T22:51:57.000Z","dependencies_parsed_at":"2024-03-28T01:48:42.261Z","dependency_job_id":"b4ce40a4-ec49-4aa1-a3f0-c138a41b6d06","html_url":"https://github.com/Uwancha/MP-Blog-Backend","commit_stats":null,"previous_names":["uwancha/mp-blog-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Uwancha/MP-Blog-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uwancha%2FMP-Blog-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uwancha%2FMP-Blog-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uwancha%2FMP-Blog-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uwancha%2FMP-Blog-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uwancha","download_url":"https://codeload.github.com/Uwancha/MP-Blog-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uwancha%2FMP-Blog-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270706235,"owners_count":24631641,"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-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["bcryptjs","express","jwt","mongodb","mongoose","nodejs","restful-api","typescript"],"created_at":"2024-11-19T18:24:23.412Z","updated_at":"2026-04-13T03:03:38.497Z","avatar_url":"https://github.com/Uwancha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog Backend\n\nThis is the backend for a blog application with authentication functionality. The backend is responsible for handling user authentication and managing blog posts through a RESTful API built using Node.js.\n\n## Features\n\n- User registration and login functionality.\n- Secure password storage using hashing techniques.\n- Authentication and authorization using JSON Web Tokens (JWT).\n- CRUD (Create, Read, Update, Delete) operations for blog posts.\n- Validation and error handling for API requests.\n- Integration with a database to store user and blog post data.\n\n## Technologies Used\n- Node.js\n- Express.js\n- TypeScript\n- MongoDB/Mongoose\n- JSON Web Tokens (JWT) for authentication\n- Express Validator for request validation\n- bcryptjs for password hashing\n\n## Getting Started\nTo get started with the backend of the blog application, follow these steps:\n\n- Clone the repository:\n```bash\n    git clone \u003crepository-url\u003e\n```\n\n- Install dependencies:\n\n```bash\nnpm install\n```\n- **Alternatively:** you can download the zip file, extract it and follow the next steps.\n\n- Set up your environment variables:\n\nCreate a .env file in the root directory and add the following variables:\n```plaintext\nPORT=3000\nMONGODB_URI=\u003cyour-mongodb-uri\u003e\nJWT_SECRET=\u003cyour-jwt-secret\u003e\n```\nSince I used cloudinary for user profile images, you should set up environment variables for profile avatar updating endpoints to be functional. You can create free cloudinary account [here](https://cloudinary.com/users/register_free)\n```plaintext\nCLOUDINARY_CLOUD_NAME=\u003cyour-cloudinary's-cloud-name\u003e\nCLOUDINARY_API_KEY=\u003cyour-cloudinary's-api-key\u003e\nCLOUDINARY_API_SECRET=\u003cyour-cloudinary's-api-secret\u003e\n```\n- 4. Run the development server:\n\n```bash\nnpm run dev\n```\n\n## API Documentation\nPlease refer to the API documentation provided in the docs folder for details on the available endpoints, request parameters, and responses.\n\n## Contributing\n\nContributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.\n\n## Contributors\n[Sitota Alemu](https://github.com/Uwancha)\n\n## License\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwancha%2Fmp-blog-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuwancha%2Fmp-blog-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwancha%2Fmp-blog-backend/lists"}