{"id":19719114,"url":"https://github.com/divyansh956/blogapp-backend","last_synced_at":"2026-04-09T18:51:26.556Z","repository":{"id":205896484,"uuid":"715347780","full_name":"divyansh956/BlogApp-Backend","owner":"divyansh956","description":"It allows users to create posts, comment on posts, like posts, and unlike posts.","archived":false,"fork":false,"pushed_at":"2023-11-13T16:30:01.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T15:47:56.534Z","etag":null,"topics":["expressjs","mongodb","postman"],"latest_commit_sha":null,"homepage":"","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/divyansh956.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":"2023-11-07T00:45:08.000Z","updated_at":"2023-11-07T00:54:39.000Z","dependencies_parsed_at":"2025-01-10T15:48:15.910Z","dependency_job_id":"444b82bb-f53a-4744-b01c-8e54cce94f25","html_url":"https://github.com/divyansh956/BlogApp-Backend","commit_stats":null,"previous_names":["divyansh956/blogappdatabase-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FBlogApp-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FBlogApp-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FBlogApp-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FBlogApp-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divyansh956","download_url":"https://codeload.github.com/divyansh956/BlogApp-Backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241039521,"owners_count":19898704,"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","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":["expressjs","mongodb","postman"],"created_at":"2024-11-11T23:06:23.600Z","updated_at":"2025-11-02T17:02:02.797Z","avatar_url":"https://github.com/divyansh956.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlogApp with Express.js and MongoDB\n\nBlogApp is a web application built with Express.js and MongoDB that allows users to create posts, comment on posts, like posts, and unlike posts. This README provides an overview of the features and how to use the API endpoints.\n\n## Prerequisites\n\nMake sure you have the following installed:\n\n- [Node.js](https://nodejs.org/)\n- [MongoDB](https://www.mongodb.com/)\n- [Postman](https://www.postman.com/) (for testing the API endpoints)\n\n## Getting Started\n\n1. **Clone the repository**\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd BlogApp-Express-MongoDB\n   ```\n\n2. **Install Dependencies**\n\n   ```bash\n   npm install\n   ```\n\n3. **Configure MongoDB**\n\n   - Make sure your MongoDB server is up and running.\n   - Update the MongoDB connection URL in `config.js` file if necessary.\n\n4. **Start the Application**\n\n   ```bash\n   npm start\n   ```\n\n   The app will be running at `http://localhost:3000`.\n\n## API Endpoints\n\n#### 1. **Create a Post**\n#### 2. **Get All Posts**\n#### 3. **Create a Comment**\n#### 4. **Like a Post**\n#### 5. **Unlike a Post**\n\n## Sample Requests (using Postman)\nhttps://documenter.getpostman.com/view/30282786/2s9YXfcivP\n\n## Technologies Used\n\n- **Express.js:** Web framework for Node.js.\n- **MongoDB:** NoSQL database for storing blog data.\n- **Mongoose:** MongoDB object modeling for Node.js.\n- **Body-parser:** Node.js body parsing middleware.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh956%2Fblogapp-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyansh956%2Fblogapp-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh956%2Fblogapp-backend/lists"}