{"id":14957589,"url":"https://github.com/rwieruch/node-express-server-rest-api","last_synced_at":"2025-04-07T19:16:24.240Z","repository":{"id":56762391,"uuid":"157480405","full_name":"rwieruch/node-express-server-rest-api","owner":"rwieruch","description":"Basic Node with Express Server with REST API","archived":false,"fork":false,"pushed_at":"2024-06-14T08:06:45.000Z","size":183,"stargazers_count":133,"open_issues_count":4,"forks_count":145,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T16:15:00.688Z","etag":null,"topics":["boilerplate","express","express-js","expressjs","node","node-js","nodejs","postman","rest","rest-api","restful-api"],"latest_commit_sha":null,"homepage":"https://www.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":"2018-11-14T02:47:10.000Z","updated_at":"2025-03-31T06:25:36.000Z","dependencies_parsed_at":"2024-06-14T09:29:20.436Z","dependency_job_id":"2a8eadbd-f6e8-4d53-9b93-d20807b9faca","html_url":"https://github.com/rwieruch/node-express-server-rest-api","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.11538461538461542","last_synced_commit":"7f8a9e68508351b7351fd6232d48c6c431838bc8"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-server-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-server-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-server-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-server-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwieruch","download_url":"https://codeload.github.com/rwieruch/node-express-server-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713258,"owners_count":20983683,"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":["boilerplate","express","express-js","expressjs","node","node-js","nodejs","postman","rest","rest-api","restful-api"],"created_at":"2024-09-24T13:15:12.220Z","updated_at":"2025-04-07T19:16:24.202Z","avatar_url":"https://github.com/rwieruch.png","language":"JavaScript","funding_links":["https://github.com/sponsors/rwieruch"],"categories":[],"sub_categories":[],"readme":"# Simple Node with Express Server with REST API\n\n[![Build Status](https://travis-ci.org/rwieruch/node-express-server-rest-api.svg?branch=master)](https://travis-ci.org/rwieruch/node-express-server-rest-api) [![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-server-rest-api.svg)](https://greenkeeper.io/)\n\nAn easy way to get started with a Express server offering a REST API with Node.js. [Read more about it.](https://www.robinwieruch.de/node-express-server-rest-api)\n\n## Features\n\n- Express\n- REST API\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-server-rest-api.git`\n- `cd node-express-server-rest-api`\n- `npm install`\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-server-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwieruch%2Fnode-express-server-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Fnode-express-server-rest-api/lists"}