{"id":26278617,"url":"https://github.com/mostafaibrahim24/blog-rest-api","last_synced_at":"2026-04-06T08:32:09.109Z","repository":{"id":166441477,"uuid":"411640309","full_name":"mostafaibrahim24/blog-rest-api","owner":"mostafaibrahim24","description":"A simple REST API (blog)","archived":false,"fork":false,"pushed_at":"2021-10-01T13:02:27.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T10:36:36.366Z","etag":null,"topics":["blog-api","expressjs","jwt-authentication","mongodb","mongoose","nodejs","practice","rest-api"],"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/mostafaibrahim24.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":"2021-09-29T11:07:29.000Z","updated_at":"2022-01-12T23:06:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee5479f3-5a09-4f23-90ab-53d5b8f449d5","html_url":"https://github.com/mostafaibrahim24/blog-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mostafaibrahim24/blog-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaibrahim24%2Fblog-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaibrahim24%2Fblog-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaibrahim24%2Fblog-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaibrahim24%2Fblog-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mostafaibrahim24","download_url":"https://codeload.github.com/mostafaibrahim24/blog-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaibrahim24%2Fblog-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["blog-api","expressjs","jwt-authentication","mongodb","mongoose","nodejs","practice","rest-api"],"created_at":"2025-03-14T13:16:57.873Z","updated_at":"2026-04-06T08:32:09.092Z","avatar_url":"https://github.com/mostafaibrahim24.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog REST API Practice\n\nThis is a simple blog api developed using Node.js,Express and MongoDB.\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg\" width=40 height=40/\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/express/express-original.svg\" width=40 height=40 /\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mongodb/mongodb-plain-wordmark.svg\" width=40 height=40 /\u003e\n\n## Features:\n\nUser:\n\n- [x] User Signup\n- [x] User Signin\n- [x] User Authentication using jsonwebtokens (\"/user\" mounted)\n- [x] Read User Profile by id\n- [x] Update User Account\n- [x] Delete User Account\n\n---\n\nBlog:\n\n- [x] User needs to be authenticated to access any of (\"/blog\" mounted)\n- [x] Create a new Blog Post\n- [x] Read all Blog Posts created + Pagination + Sorted by recently posted\n- [x] Read a specific Blog Post by id\n- [x] Update a Blog Post\n- [x] Delete a Blog Post\n\n---\n\n- [x] Link the authenticated User with the blogs he created ( referenced using their ObjectId in the User document in an array )\n- [x] Link the blog with creator of it ( referenced using the user's ObjectId )\n\n## To be done:\n\n- Refactor it and make more layers\n- Better Error Handling\n- Add new features:\n  1- Sorting features 2- Comment on a Blog\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafaibrahim24%2Fblog-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostafaibrahim24%2Fblog-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafaibrahim24%2Fblog-rest-api/lists"}