{"id":28318608,"url":"https://github.com/imrenr/restfulapi-with-node.js-express-mongodb","last_synced_at":"2025-09-22T22:55:47.128Z","repository":{"id":286459996,"uuid":"961469490","full_name":"ImrenR/RestfulApi-With-Node.js-Express-MongoDB","owner":"ImrenR","description":"Note-Taking REST API (Node.js + Express + MongoDB) : This is a simple RESTful API built with Node.js, Express, and MongoDB (Mongoose) that allows users to create, read, update, and delete personal notes. It demonstrates the foundational structure of a backend application including routing, database connectivity, and basic server setup.","archived":false,"fork":false,"pushed_at":"2025-04-09T19:53:49.000Z","size":3390,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T16:17:28.273Z","etag":null,"topics":["dotenv","express-js","mongodb","mongoose","node-js","nodemon","restful-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/ImrenR.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":"2025-04-06T15:35:33.000Z","updated_at":"2025-04-09T19:53:53.000Z","dependencies_parsed_at":"2025-04-06T16:46:43.747Z","dependency_job_id":null,"html_url":"https://github.com/ImrenR/RestfulApi-With-Node.js-Express-MongoDB","commit_stats":null,"previous_names":["imrenr/restful-api-with-node.js-express-mongodb-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ImrenR/RestfulApi-With-Node.js-Express-MongoDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImrenR%2FRestfulApi-With-Node.js-Express-MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImrenR%2FRestfulApi-With-Node.js-Express-MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImrenR%2FRestfulApi-With-Node.js-Express-MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImrenR%2FRestfulApi-With-Node.js-Express-MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImrenR","download_url":"https://codeload.github.com/ImrenR/RestfulApi-With-Node.js-Express-MongoDB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImrenR%2FRestfulApi-With-Node.js-Express-MongoDB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261733840,"owners_count":23201734,"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":["dotenv","express-js","mongodb","mongoose","node-js","nodemon","restful-api"],"created_at":"2025-05-25T08:11:08.941Z","updated_at":"2025-09-22T22:55:42.093Z","avatar_url":"https://github.com/ImrenR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#  Simple Blog Post API (Node.js + Express + MongoDB)\n\nA minimal RESTful API built with **Node.js**, **Express**, and **MongoDB** to perform basic CRUD operations on blog posts.\n\n---\n\n##  Features\n\n- Create a blog post ✅\n- Retrieve all posts ✅\n- Get a specific post by ID ✅\n- Delete a post ✅\n- JSON-based API using Express ✅\n- MongoDB with Mongoose ✅\n\n---\n\n\n##  Getting Started\n\n### Install dependencies \n\nnpm install\n\n### Set up your .env file\n\nDB_CONNECTION=mongodb+srv://yourUser:yourPassword@yourCluster.mongodb.net/yourDB?retryWrites=true\u0026w=majority\nPORT=8000\n\n### Run the server\n\nnodemon app.js\n\n### Your server should now be running at:\nhttp://localhost:8000\n\n### API Endpoints\nMethod\t  Endpoint\t       Description\nGET\t     /posts\t           Get all posts\nPOST \t   /posts\t           Create a new post\nGET\t     /posts/:postId    \tGet a post by ID\nDELETE \t /posts/:postid\t   Delete a post by ID\n\n### Built With \n\nNode.js\n\nExpress.js\n\nMongoDB\n\nMongoose\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrenr%2Frestfulapi-with-node.js-express-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrenr%2Frestfulapi-with-node.js-express-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrenr%2Frestfulapi-with-node.js-express-mongodb/lists"}