{"id":19427115,"url":"https://github.com/soap171/node-blog-rest-api","last_synced_at":"2026-04-14T04:31:06.399Z","repository":{"id":251491543,"uuid":"837580741","full_name":"Soap171/Node-Blog-Rest-API","owner":"Soap171","description":"REST API for a blog application built using (MongoDB, Express.js, React.js, Node.js).","archived":false,"fork":false,"pushed_at":"2024-10-10T01:58:16.000Z","size":5225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T05:17:47.967Z","etag":null,"topics":["blog","blogs","express","jwt","mailtrap","mern-stack","mongodb","node"],"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/Soap171.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}},"created_at":"2024-08-03T11:51:42.000Z","updated_at":"2024-10-10T01:58:20.000Z","dependencies_parsed_at":"2024-08-24T06:30:01.129Z","dependency_job_id":"3b1061b2-f49b-4432-8f61-975284d7850a","html_url":"https://github.com/Soap171/Node-Blog-Rest-API","commit_stats":null,"previous_names":["soap171/mern-blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Soap171/Node-Blog-Rest-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soap171%2FNode-Blog-Rest-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soap171%2FNode-Blog-Rest-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soap171%2FNode-Blog-Rest-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soap171%2FNode-Blog-Rest-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soap171","download_url":"https://codeload.github.com/Soap171/Node-Blog-Rest-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soap171%2FNode-Blog-Rest-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["blog","blogs","express","jwt","mailtrap","mern-stack","mongodb","node"],"created_at":"2024-11-10T14:10:29.131Z","updated_at":"2026-04-14T04:31:06.382Z","avatar_url":"https://github.com/Soap171.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog REST API\n\nThis is a REST API for a blog application built using (MongoDB, Express.js, React.js, Node.js). The API provides comprehensive endpoints for managing blog posts and user interactions, including user authentication, email verification, and password reset functionality.\n\n## Features\n\n- **User Authentication**: Secure user authentication using JWT (JSON Web Tokens).\n- **Email Verification**: Users receive a verification email after signing up to confirm their email address.\n- **Password Reset**: Users can reset their passwords by receiving a reset link via email.\n- **CRUD Operations**: Full CRUD (Create, Read, Update, Delete) functionality for blog posts and comments.\n- **Category Filtering**: Blog posts can be filtered by category.\n- **Error Handling**: Comprehensive error handling ensures the API responds gracefully to invalid requests and server errors.\n- **Comments on Posts**: Users can add comments on blog posts.\n\n## Technologies Used\n\n- **Backend**: Node.js and Express.js\n- **Database**: MongoDB\n- **Authentication**: JWT (JSON Web Tokens)\n- **Email Service**: Mailtrap\n\n## Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/yourusername/mern-blog-rest-api.git\n   cd mern-blog-rest-api\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n\n3. **Set up environment variables**\n   ```bash\n   PORT='your port number'\n   MONGO_URL='your MongoDB URL'\n   JWT_SECRET='your JWT secret key'\n   NODE_ENV='development'\n   MAILTRAP_TOKEN='your Mailtrap token'\n   MAILTRAP_ENDPOINT='your Mailtrap endpoint'\n\n4.**Start the server**\n   ```bash\n   npm start\n \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoap171%2Fnode-blog-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoap171%2Fnode-blog-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoap171%2Fnode-blog-rest-api/lists"}