{"id":14956684,"url":"https://github.com/rwieruch/node-express-mongodb-server","last_synced_at":"2025-10-24T10:30:50.709Z","repository":{"id":50658917,"uuid":"164120681","full_name":"rwieruch/node-express-mongodb-server","owner":"rwieruch","description":"Basic Node with Express + MongoDB Server","archived":false,"fork":false,"pushed_at":"2024-03-11T14:32:20.000Z","size":207,"stargazers_count":79,"open_issues_count":0,"forks_count":47,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-06T08:42:10.170Z","etag":null,"topics":["express","express-js","expressjs","mongodb","mongodb-database","mongoose","node","node-js","nodejs"],"latest_commit_sha":null,"homepage":"https://robinwieruch.de","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/rwieruch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"rwieruch","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-01-04T15:00:36.000Z","updated_at":"2025-01-24T10:58:22.000Z","dependencies_parsed_at":"2024-09-02T15:40:59.772Z","dependency_job_id":"8218d872-5332-42f6-b8dc-0c1fffe00a86","html_url":"https://github.com/rwieruch/node-express-mongodb-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-mongodb-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-mongodb-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-mongodb-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-mongodb-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwieruch","download_url":"https://codeload.github.com/rwieruch/node-express-mongodb-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950790,"owners_count":19392666,"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":["express","express-js","expressjs","mongodb","mongodb-database","mongoose","node","node-js","nodejs"],"created_at":"2024-09-24T13:13:20.932Z","updated_at":"2025-10-24T10:30:50.382Z","avatar_url":"https://github.com/rwieruch.png","language":"JavaScript","funding_links":["https://github.com/sponsors/rwieruch"],"categories":[],"sub_categories":[],"readme":"# Simple Node with Express + MongoDB Server\n\n[![Build Status](https://travis-ci.org/rwieruch/node-express-mongodb-server.svg?branch=master)](https://travis-ci.org/rwieruch/node-express-mongodb-server) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/) [![Greenkeeper badge](https://badges.greenkeeper.io/rwieruch/node-express-mongodb-server.svg)](https://greenkeeper.io/)\n\nAn easy way to get started with a Express server with MongoDB with Node.js. [Read more about it.](https://www.robinwieruch.de/mongodb-express-setup-tutorial/)\n\n## Features\n\n- Express\n- REST API\n- MongoDB\n\n## Requirements\n\n- [node \u0026 npm](https://nodejs.org/en/)\n- [git](https://www.robinwieruch.de/git-essential-commands/)\n\n## Installation\n\n- `git clone git@github.com:rwieruch/node-express-mongodb-server.git`\n- `cd node-express-mongodb-server`\n- `npm install`\n- [start MongoDB](https://www.robinwieruch.de/mongodb-express-setup-tutorial/)\n- `npm start`\n- optional: include _.env_ in your _.gitignore_\n\n### GET Routes\n\n- visit http://localhost:3000\n  - /messages\n  - /messages/1\n  - /users\n  - /users/1\n\n### Beyond GET Routes\n\n#### CURL\n\n- Create a message with:\n  - `curl -X POST -H \"Content-Type:application/json\" http://localhost:3000/messages -d '{\"text\":\"Hi again, World\"}'`\n- Delete a message with:\n  - `curl -X DELETE -H \"Content-Type:application/json\" http://localhost:3000/messages/1`\n\n#### Postman\n\n- Install [Postman](https://www.getpostman.com/apps) to interact with REST API\n- Create a message with:\n  - URL: http://localhost:3000/messages\n  - Method: POST\n  - Body: raw + JSON (application/json)\n  - Body Content: `{ \"text\": \"Hi again, World\" }`\n- Delete a message with:\n  - URL: http://localhost:3000/messages/1\n  - Method: DELETE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Fnode-express-mongodb-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwieruch%2Fnode-express-mongodb-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Fnode-express-mongodb-server/lists"}