{"id":21734520,"url":"https://github.com/pedro-donoso/node-postgres-intro","last_synced_at":"2026-04-13T03:40:45.500Z","repository":{"id":42521985,"uuid":"455318793","full_name":"pedro-donoso/node-postgres-intro","owner":"pedro-donoso","description":"Conexión Nodejs y Postgresql, Se pueden consultar libros desde una base de datos SQL, Insertar, Eliminar y Editar Usuarios desde la terminal, los cambios se ven reflejados en la tabla y base de datos creada en Postgresql desde PSQL","archived":false,"fork":false,"pushed_at":"2024-06-18T01:48:37.000Z","size":1726,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T00:18:29.088Z","etag":null,"topics":["express","express-js","expressjs","nodemon","pg","postgres","postgresql","postgresql-database","psql","psql-database"],"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}},"created_at":"2022-02-03T20:32:49.000Z","updated_at":"2024-03-21T05:15:57.000Z","dependencies_parsed_at":"2024-03-21T07:31:10.272Z","dependency_job_id":"350b8011-401e-4a7e-b542-fba332424827","html_url":"https://github.com/pedro-donoso/node-postgres-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedro-donoso/node-postgres-intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgres-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgres-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgres-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgres-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedro-donoso","download_url":"https://codeload.github.com/pedro-donoso/node-postgres-intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-donoso%2Fnode-postgres-intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31739050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T03:27:07.512Z","status":"ssl_error","status_checked_at":"2026-04-13T03:26:53.610Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["express","express-js","expressjs","nodemon","pg","postgres","postgresql","postgresql-database","psql","psql-database"],"created_at":"2024-11-26T05:09:21.455Z","updated_at":"2026-04-13T03:40:45.484Z","avatar_url":"https://github.com/pedro-donoso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Conection Nodejs with Postgresql\n\n* Necesary\n\nDownload or Clone repositorie, in terminal:\n\n`\nnpm i express pg nodemon\n`\n\n### PSQL\n\n1. init PSQL with password: password\n\n![psql](https://user-images.githubusercontent.com/68760595/152808549-83f9f3c5-c85c-4fba-8460-94693128cbbf.PNG)\n\n### GET BOOKS\n\n2. In folder src/index.js, activate function getBooks();\n\n![getbooks](https://user-images.githubusercontent.com/68760595/152809513-b847f493-aeef-4d7b-b5eb-5e474af0ec24.PNG)\n\n### TERMINAL\n\n3. In terminal:\n\n`\nnpm run dev\n`\n\n![respuesta](https://user-images.githubusercontent.com/68760595/152809877-852f7d71-fc5e-4091-992e-4394578727a7.PNG)\n\n### INSERT USER\n\n4. In folder src/index.js, comment function -\u003e //getBooks();\n\n![insert](https://user-images.githubusercontent.com/68760595/152813525-1abef3b3-2afa-4957-9ba4-5bbee9907c97.PNG)\n\n### TERMINAL\n\n5. In terminal:\n\n`\nnpm run dev\n`\n\n![insertado](https://user-images.githubusercontent.com/68760595/152814271-986c3ad9-6b4c-4c81-80b4-f2e6c9ff4af3.PNG)\n\n### PSQL\n\n6. In PSQL, connect to library:\n`\n\\c library\n`\n\n![library](https://user-images.githubusercontent.com/68760595/152814980-96321172-4132-4016-a86d-a41bab93d8ec.PNG)\n\n7. List of Tables:\n\n`\n\\dt \n`\n\n![lista](https://user-images.githubusercontent.com/68760595/152815601-0da0f1a9-32b8-4ffc-ae1b-77f35931751f.PNG)\n\n### LIBRARY\n\n8. library=# select * from users;\n\n![nuevo](https://user-images.githubusercontent.com/68760595/152819063-0c6d04e5-02b3-4d75-afae-42bd90de2a75.PNG)\n\n### DELETE USER\n\n9. Delete user, comment -\u003e //instertUser();\n\n![borrar](https://user-images.githubusercontent.com/68760595/152823337-963bafaa-0ee2-41f5-a243-62e639dbcc51.PNG)\n\n### TERMINAL\n\n10. In terminal:\n\n`\nnpm run dev\n`\n\n![nodemon](https://user-images.githubusercontent.com/68760595/152824084-dfc1548a-8e52-4a05-a405-64bb986cef06.PNG)\n\n### PSQL\n\n11. in PSQL, select * from users;\n\n![eliminado](https://user-images.githubusercontent.com/68760595/152824393-e11480f0-9a41-4dd1-842d-c5782cb42050.PNG)\n\n### EDIT USER\n\n12. editUser(), comment -\u003e //deleteUser();\n\n![edicion](https://user-images.githubusercontent.com/68760595/152828179-eaf196cc-8f37-497b-a2f8-48049c3b3875.PNG)\n\n### TERMINAL\n\n13. In terminal:\n\n`\nnpm run dev\n`\n\n![editado](https://user-images.githubusercontent.com/68760595/152828613-58e200e6-60fa-4aa5-a0c4-764a1844ad6e.PNG)\n\n### PSQL\n\n14. in PSQL, select * from users;\n\n![final](https://user-images.githubusercontent.com/68760595/152840711-b083daf7-dbcf-4557-a599-3e4e9174e8ac.PNG)\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-donoso%2Fnode-postgres-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedro-donoso%2Fnode-postgres-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-donoso%2Fnode-postgres-intro/lists"}