{"id":18456571,"url":"https://github.com/akashrajpurohit/blog-cms-api","last_synced_at":"2026-05-15T22:33:56.759Z","repository":{"id":44505350,"uuid":"190350315","full_name":"AkashRajpurohit/blog-cms-api","owner":"AkashRajpurohit","description":"Blog application Backend with CMS using Node.js","archived":false,"fork":false,"pushed_at":"2023-12-04T23:55:34.000Z","size":672,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-11T13:33:57.655Z","etag":null,"topics":["admin","authentication","blog","cms","jwt","nodejs"],"latest_commit_sha":null,"homepage":"https://blog-cms-api.herokuapp.com","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/AkashRajpurohit.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},"funding":{"ko_fi":"akashrajpurohit","github":"AkashRajpurohit","custom":["https://paypal.me/RajpurohitAkash"]}},"created_at":"2019-06-05T07:50:31.000Z","updated_at":"2024-12-22T08:05:54.000Z","dependencies_parsed_at":"2024-11-06T08:12:10.680Z","dependency_job_id":"3ee2fb5d-11fd-4ffa-8ae8-56074281a20a","html_url":"https://github.com/AkashRajpurohit/blog-cms-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AkashRajpurohit/blog-cms-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkashRajpurohit%2Fblog-cms-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkashRajpurohit%2Fblog-cms-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkashRajpurohit%2Fblog-cms-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkashRajpurohit%2Fblog-cms-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkashRajpurohit","download_url":"https://codeload.github.com/AkashRajpurohit/blog-cms-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkashRajpurohit%2Fblog-cms-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"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":["admin","authentication","blog","cms","jwt","nodejs"],"created_at":"2024-11-06T08:12:05.282Z","updated_at":"2026-05-15T22:33:56.732Z","avatar_url":"https://github.com/AkashRajpurohit.png","language":"JavaScript","funding_links":["https://ko-fi.com/akashrajpurohit","https://github.com/sponsors/AkashRajpurohit","https://paypal.me/RajpurohitAkash"],"categories":[],"sub_categories":[],"readme":"# Project: Blog + CMS (ID: JS-3)\n## Project given by Levin from 'Garbage Collector' Organization from discord\n## Difficulty: Intermediate to advanced\n\n## Task\n#### Build a database-driven (persistent) blog themed application, including a (small) Content-Management System (CMS) for administrators to manage it.\n\n* Blog\n* [x] Securely register and log in users =\u003e Password hashing, session management, authorization and authentication\n* [x] Allow authorized users to:\n  * [x] Create new blog posts - a post should include\n    * [x] a title\n    * [x] an author\n    * [x] some content\n    * [x] is published\n    * [ ] (Optional): a post picture\n  * [x] Edit their own posts \n  * [x] Delete their own posts (Soft Delete)\n  * [x] View their own profile information, which should include\n    * [x] the username\n    * [x] the E-Mail\n    * [ ] (Optional): a biography\n    * [ ] (Optional): a profile picture\n    * [x] All of their posts\n    \n* Get access to the CMS\n  * [x] for administrators only -\u003e differentiate between normal users and admins\n\n* Additionally, allow everyone to:\n  * [x] View all published blog posts\n\n* CMS:\n  * [x] Allow administrators only!\n  * [x] Get an overview of all registered users, ability to view their information which equals the information the user should be able to see about him/herself\n  * [x] Edit and delete any post\n  * [x] Delete user accounts\n  * [x] Create user accounts\n  * [x] Grant users administrator privileges\n  * [ ] (Optional): Statistics of registrations and/or posts\n\n\n## Stretch - Plan to implement task apart from given\n* [x] Use access token and refresh token for authentication and authorization -\u003e super fun while implementing this 😊\n* [x] User Forgot Password\n  * [x] Lock user account\n  * [x] Send email with token\n* [x] Change password and unlock the user's account. Invalidated all old tokens in this process\n* [ ] Allow user to hard delete any data (eg. Blog post)\n* [ ] Likes and comments on blog post\n\n## Graphical Assets\n* Send Forgot Password Email\n  \u003cbr /\u003e\n  \u003cimg src=\"./assets/forgotpassword-email.jpeg\" width=200 height=300 /\u003e\n\n## Read the API Docs\n[Documentation](https://documenter.getpostman.com/view/4346639/S1TZzbts)\n\n## Deployed URL\n[blog-cms-api.herokuapp.com](https://blog-cms-api.herokuapp.com/)\n\n## Read the detailed Feedback given by Levin\n[Feedback](./FEEDBACK.txt)\n\n\u003e It was a really fun assignment to work on and Levin was a good mentor who helped me many times by giving advices on some logic or method of implementation of code. Overall I took many good things from this assignment and now publicly keeping it open source for anyone to use and add more features to it. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashrajpurohit%2Fblog-cms-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakashrajpurohit%2Fblog-cms-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashrajpurohit%2Fblog-cms-api/lists"}