{"id":27992116,"url":"https://github.com/dirkjbosman/node-postgresql-destructured","last_synced_at":"2026-05-03T17:33:59.849Z","repository":{"id":81074787,"uuid":"290751500","full_name":"dirkjbosman/node-postgresql-destructured","owner":"dirkjbosman","description":"A (Destructured) Express Node PostgreSQL App","archived":false,"fork":false,"pushed_at":"2020-09-12T13:16:49.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T17:57:25.552Z","etag":null,"topics":["api","express","javascript","node","nodejs","postgresql","sql"],"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/dirkjbosman.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":"2020-08-27T10:56:35.000Z","updated_at":"2020-09-12T13:16:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"632dd6ee-4804-4ad0-a6ca-5ba94e51d74a","html_url":"https://github.com/dirkjbosman/node-postgresql-destructured","commit_stats":null,"previous_names":["dirkjbosman/node-postgresql-destructured"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dirkjbosman/node-postgresql-destructured","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkjbosman%2Fnode-postgresql-destructured","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkjbosman%2Fnode-postgresql-destructured/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkjbosman%2Fnode-postgresql-destructured/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkjbosman%2Fnode-postgresql-destructured/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirkjbosman","download_url":"https://codeload.github.com/dirkjbosman/node-postgresql-destructured/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkjbosman%2Fnode-postgresql-destructured/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32578725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","express","javascript","node","nodejs","postgresql","sql"],"created_at":"2025-05-08T17:57:23.737Z","updated_at":"2026-05-03T17:33:59.834Z","avatar_url":"https://github.com/dirkjbosman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-postgresql-destructured\n\n#### Summary:\n\n- node express server, middleware and apis\n- postgresql relational database\n\n### Boilerplates:\n\n- [Part 1: node-postgresql-unstructured](https://github.com/dirkbosman/node-postgresql-unstructured)\n- [Part 2: node-postgresql-destructured](https://github.com/dirkbosman/node-postgresql-destructured)\n- [Part 3: node-postgresql-controllers](https://github.com/dirkbosman/node-postgresql-controllers)\n---\n- [Part 4a: node-mongodb-controllers](https://github.com/dirkbosman/node-mongodb-controllers)\n- Part 4b: Combine [node-mongodb-clientforserver](https://github.com/dirkbosman/node-mongodb-clientforserver) + [node-mongodb-controllers](https://github.com/dirkbosman/node-mongodb-controllers)\n\n#### Node SQL sample project:\n\n1. Move the order routes to the `./api/orders.js` file. You will need the same imports in the `./api/users.js` routes. When you are done, you can delete the commented order routes in the `server.js`\n2. Create `post`, `delete` and `put` routes for orders like it's been done for users.\n3. Make sure the order routes are using the error handling middleware by calling the `next` function in every `catch` statement, like it's done for users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkjbosman%2Fnode-postgresql-destructured","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirkjbosman%2Fnode-postgresql-destructured","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkjbosman%2Fnode-postgresql-destructured/lists"}