{"id":28533288,"url":"https://github.com/jeevan42/post-it-blog-app-backend","last_synced_at":"2026-04-11T11:02:53.788Z","repository":{"id":297983718,"uuid":"998382044","full_name":"jeevan42/post-it-blog-app-backend","owner":"jeevan42","description":"🔐 Backend Repo for a MERN blog app with JWT-based user authentication, bcrypt password hashing, and full CRUD API for blog posts using Node.js, Express, and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-06-08T18:17:06.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T19:11:39.702Z","etag":null,"topics":["backend","bcrypt","blog-api","crud-api","express","jwt-authentication","mern-stack","mongodb","nodejs","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/jeevan42.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":"2025-06-08T13:49:35.000Z","updated_at":"2025-06-14T13:36:27.000Z","dependencies_parsed_at":"2025-06-08T19:19:15.194Z","dependency_job_id":"82cb1060-cd1e-47c4-8e41-7bf6ab634f87","html_url":"https://github.com/jeevan42/post-it-blog-app-backend","commit_stats":null,"previous_names":["jeevan42/post-it-blog-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeevan42/post-it-blog-app-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeevan42%2Fpost-it-blog-app-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeevan42%2Fpost-it-blog-app-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeevan42%2Fpost-it-blog-app-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeevan42%2Fpost-it-blog-app-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeevan42","download_url":"https://codeload.github.com/jeevan42/post-it-blog-app-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeevan42%2Fpost-it-blog-app-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":["backend","bcrypt","blog-api","crud-api","express","jwt-authentication","mern-stack","mongodb","nodejs","rest-api"],"created_at":"2025-06-09T17:06:30.670Z","updated_at":"2026-04-11T11:02:53.771Z","avatar_url":"https://github.com/jeevan42.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Post-It Blog App - Backend\n\nThis is the backend Repo for the **Post-It Blog App**, a full-stack blogging application built with the MERN stack. It handles user authentication using JWT, password hashing with bcrypt, and CRUD operations for blog posts.\n\n## 🛠️ Tech Stack\n- Node.js\n- Express.js\n- MongoDB (Mongoose)\n- JWT Authentication\n- Bcrypt for password hashing\n\n## 📦 Features\n- User registration and login\n- JWT-based authentication\n- CRUD operations on blog posts (Create, Read, Update, Delete)\n- Authorization: Only post authors can update or delete their posts\n\n## 📁 API Routes\n\n### 🔐 Auth Routes\n- `POST /api/register` - Register a new user\n- `POST /api/login` - Log in and receive a JWT token\n\n### 📄 Blog Post Routes\n- `GET /api/posts` - Get all blog posts\n- `POST /api/posts` - Create a new blog post (Protected)\n- `PUT /api/posts/:id` - Update a blog post (Protected)\n- `DELETE /api/posts/:id` - Delete a blog post (Protected)\n\n## 🧪 Tools \u0026 Libraries\n- `dotenv` - Environment variable management\n- `jsonwebtoken` - Token-based authentication\n- `bcrypt` - Secure password hashing\n- `cors` - Cross-origin resource sharing\n- `mongoose` - MongoDB object modeling\n\n## 📁 Folder Structure\n\u003cpre\u003e\npost-it-blog-app-backend/\n├── controllers/\n│   ├── auth.controller.js\n│   └── post.controller.js\n├── models/\n│   ├── User.js\n│   └── Post.js\n├── routes/\n│   ├── auth.js\n│   └── posts.js\n├── middleware/\n│   └── auth.js\n├── config/\n│   └── db.js\n├── .env.example\n├── server.js\n\u003c/pre\u003e\n\n## 📝 Setup Instructions\n```bash\ngit clone https://github.com/jeevan42/post-it-blog-app-backend\ncd post-it-blog-app-backend\nnpm install\n# Add .env file with your MongoDB URI and JWT_SECRET\nnpm start\n```\n\n## 🙌 Contributing\nPRs and stars are welcome. For major changes, open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeevan42%2Fpost-it-blog-app-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeevan42%2Fpost-it-blog-app-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeevan42%2Fpost-it-blog-app-backend/lists"}