{"id":21734419,"url":"https://github.com/pedro-donoso/node-postgresql","last_synced_at":"2026-04-11T00:37:01.736Z","repository":{"id":42231553,"uuid":"460466230","full_name":"pedro-donoso/node-postgresql","owner":"pedro-donoso","description":"API REST con Nodejs y base de datos Postgresql, el usuario puede crear nuevos proyectos con POST, consultar existentes con GET o especificos por ID, actualizar con PUT y eliminar con DELETE","archived":false,"fork":false,"pushed_at":"2024-12-05T23:03:33.000Z","size":1611,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T20:42:06.235Z","etag":null,"topics":["api","api-rest","crud","express","express-js","expressjs","morgan","node","node-js","nodejs","nodemon","pg","pg-hstore","postgres","postgresql"],"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/pedro-donoso.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":"2022-02-17T14:19:21.000Z","updated_at":"2024-10-21T01:25:19.000Z","dependencies_parsed_at":"2024-09-16T08:19:14.581Z","dependency_job_id":null,"html_url":"https://github.com/pedro-donoso/node-postgresql","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/pedro-donoso%2Fnode-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedro-donoso","download_url":"https://codeload.github.com/pedro-donoso/node-postgresql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711967,"owners_count":20497418,"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","api-rest","crud","express","express-js","expressjs","morgan","node","node-js","nodejs","nodemon","pg","pg-hstore","postgres","postgresql"],"created_at":"2024-11-26T05:08:59.278Z","updated_at":"2025-12-31T00:03:44.484Z","avatar_url":"https://github.com/pedro-donoso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Steps:\n\n1. Download code\n\n2. In terminal:\n\n```\nnpm install express pg pg-hstore nodemon sequelize morgan @babel/polyfill\n```\n\n3. Babel:\n\n```\nnpm install --save-dev @babel/core @babel/cli @babel/preset-env\n```\n\n\n4. in PSQL -\u003e password: password\n\n![psql](https://user-images.githubusercontent.com/68760595/154311166-1d0888ea-8b0e-4a3f-9617-3b25194eca82.PNG)\n\n\n5. In terminal, run server:\n\n```\nnpm run dev\n```\n\n6. ### POST\n\nIn extension \"Thunder Client\", vsCode:\n\n```\nhttp://localhost:3000/api/projects\n```\n\n![Captura](https://user-images.githubusercontent.com/68760595/154333935-15a0367a-2924-46e4-af56-5cf18a71ec5a.PNG)\n\n7. ### GET (All Projects)\n\nIn PSQL -\u003e SELECT * FROM projects;\n\n![postgres](https://user-images.githubusercontent.com/68760595/154334909-f3e07dc0-bce5-4764-bf24-82554b168f5a.PNG)\n\n8. ### GET (Project by ID)\n\nIn extension \"Thunder Client\":\n\n```\nhttp://localhost:3000/api/projects/12\n```\n![id](https://user-images.githubusercontent.com/68760595/154336511-960cabfa-e848-49ac-aa01-343bd098e6df.PNG)\n\n9. ### PUT\n\nUpdate project\n\n```\nhttp://localhost:3000/api/projects/2\n```\n\n![put](https://user-images.githubusercontent.com/68760595/154337464-e953d22e-2c84-4427-b466-80d06b811314.PNG)\n\n10. ### DELETE\n\n![delete](https://user-images.githubusercontent.com/68760595/154503192-7b2ec90f-12e7-4f9a-8949-9041cfbbfb09.PNG)\n\nDelete project\n\n```\nhttp://localhost:3000/api/projects/14\n```\n* revision in PSQL -\u003e SELECT * FROM projects;\n\n![BORRAR](https://user-images.githubusercontent.com/68760595/154503733-6423e857-00a2-4aed-aea8-7de6f1a03616.PNG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-donoso%2Fnode-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedro-donoso%2Fnode-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-donoso%2Fnode-postgresql/lists"}