{"id":20145504,"url":"https://github.com/ramgoel/node-postgres-api","last_synced_at":"2026-04-11T13:35:03.361Z","repository":{"id":190792605,"uuid":"683348292","full_name":"RamGoel/node-postgres-api","owner":"RamGoel","description":"A CRUD api for user details made with Express and PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-11-15T16:46:09.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:26:48.082Z","etag":null,"topics":["backend-api","express","nodejs-server","postgresql"],"latest_commit_sha":null,"homepage":"https://node-postgres-api.vercel.app","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/RamGoel.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":"2023-08-26T09:24:48.000Z","updated_at":"2023-08-27T06:02:35.000Z","dependencies_parsed_at":"2025-01-13T10:46:03.660Z","dependency_job_id":"6d26ceaf-a47a-4d5f-9fe7-c019b5693568","html_url":"https://github.com/RamGoel/node-postgres-api","commit_stats":null,"previous_names":["ramgoel/node-postgres-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RamGoel/node-postgres-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamGoel%2Fnode-postgres-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamGoel%2Fnode-postgres-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamGoel%2Fnode-postgres-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamGoel%2Fnode-postgres-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamGoel","download_url":"https://codeload.github.com/RamGoel/node-postgres-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamGoel%2Fnode-postgres-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"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":["backend-api","express","nodejs-server","postgresql"],"created_at":"2024-11-13T22:16:52.759Z","updated_at":"2026-04-11T13:35:03.321Z","avatar_url":"https://github.com/RamGoel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# node-postgres-api\n\nA User details CRUD REST API built using expressjs and postgresql.\n\n\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`POSTGRES_USERNAME` : Username for Postgres\n`POSTGRES_PASSWORD` : Password for Postgres\n\n- This repo has CI using Github Actions\n\n## API Reference\n\n#### Get all users\n\n```\n  GET /user\n```\n\n\n#### Get single user\n\n```\n  GET /user?id=[id]\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `string` | **Required**. Id of user to fetch |\n\n\n#### Add new user\n\n```\n  POST /user\n```\n\n\n```\n{\n\"fname\": \"Ram\",\n\"lname\": \"Goel\",\n\"age\": 21,\n\"email\": \"ram@habpages.com\",\n\"country\": \"India\"\n} \n```\n#### Update Email of User\n\n\n```\n  PUT /user\n```\n\n\n```\n{\n\"email\": \"ram@habpages.com\",\n} \n```\n\n#### Delete User\n\n\n```\n  DELETE /user\n```\n\n\n```\n{\n\"id\": \"1\"\n} \n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framgoel%2Fnode-postgres-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framgoel%2Fnode-postgres-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framgoel%2Fnode-postgres-api/lists"}