{"id":24806641,"url":"https://github.com/dirkbosman/node-postgresql-destructured","last_synced_at":"2025-03-25T09:22:34.153Z","repository":{"id":81074787,"uuid":"290751500","full_name":"dirkbosman/node-postgresql-destructured","owner":"dirkbosman","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":2,"default_branch":"master","last_synced_at":"2025-01-30T08:32:15.382Z","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/dirkbosman.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/dirkbosman/node-postgresql-destructured","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/dirkbosman%2Fnode-postgresql-destructured","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkbosman%2Fnode-postgresql-destructured/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkbosman%2Fnode-postgresql-destructured/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkbosman%2Fnode-postgresql-destructured/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirkbosman","download_url":"https://codeload.github.com/dirkbosman/node-postgresql-destructured/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245432063,"owners_count":20614248,"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":["api","express","javascript","node","nodejs","postgresql","sql"],"created_at":"2025-01-30T08:29:37.118Z","updated_at":"2025-03-25T09:22:34.130Z","avatar_url":"https://github.com/dirkbosman.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%2Fdirkbosman%2Fnode-postgresql-destructured","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirkbosman%2Fnode-postgresql-destructured","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkbosman%2Fnode-postgresql-destructured/lists"}