{"id":14957592,"url":"https://github.com/rwieruch/node-express-postgresql-server","last_synced_at":"2025-09-01T21:37:29.369Z","repository":{"id":34269695,"uuid":"164116149","full_name":"rwieruch/node-express-postgresql-server","owner":"rwieruch","description":"Basic Node with Express + PostgreSQL Server","archived":false,"fork":false,"pushed_at":"2022-08-17T21:28:40.000Z","size":364,"stargazers_count":114,"open_issues_count":0,"forks_count":59,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-30T10:13:28.832Z","etag":null,"topics":["boilerplate","express","express-js","expressjs","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},"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-04T14:17:57.000Z","updated_at":"2025-04-27T08:15:41.000Z","dependencies_parsed_at":"2022-07-17T00:46:03.696Z","dependency_job_id":null,"html_url":"https://github.com/rwieruch/node-express-postgresql-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-postgresql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-postgresql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-postgresql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Fnode-express-postgresql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwieruch","download_url":"https://codeload.github.com/rwieruch/node-express-postgresql-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252002043,"owners_count":21678474,"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"],"created_at":"2024-09-24T13:15:12.450Z","updated_at":"2025-05-02T07:31:42.925Z","avatar_url":"https://github.com/rwieruch.png","language":"JavaScript","funding_links":["https://github.com/sponsors/rwieruch"],"categories":[],"sub_categories":[],"readme":"# Simple Node with Express + PostgreSQL Server\n\n[![Build Status](https://travis-ci.org/rwieruch/node-express-postgresql-server.svg?branch=master)](https://travis-ci.org/rwieruch/node-express-postgresql-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-postgresql-server.svg)](https://greenkeeper.io/)\n\nAn easy way to get started with a Express server with PostgreSQL with Node.js. [Read more about it.](https://www.robinwieruch.de/postgres-express-setup-tutorial/)\n\n## Features\n\n- Express\n- REST API\n- PostgreSQL\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-postgresql-server.git`\n- `cd node-express-postgresql-server`\n- `npm install`\n- `docker-compose up`\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-postgresql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwieruch%2Fnode-express-postgresql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Fnode-express-postgresql-server/lists"}