{"id":21800947,"url":"https://github.com/wpcodevo/go-postgres-crud-rest-api","last_synced_at":"2026-04-18T04:33:46.515Z","repository":{"id":261036208,"uuid":"883039432","full_name":"wpcodevo/go-postgres-crud-rest-api","owner":"wpcodevo","description":"In this article, you will learn how to create a CRUD REST API in Golang using Fiber as the web framework and PostgreSQL as the database.","archived":false,"fork":false,"pushed_at":"2024-11-05T11:12:36.000Z","size":21097,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T06:18:12.567Z","etag":null,"topics":["crud","crud-api","crud-api-fiber","go","golang","gorm-orm","postgres"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/crud-operations-on-postgresql-with-a-golang-rest-api/","language":"Go","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/wpcodevo.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":"2024-11-04T09:20:45.000Z","updated_at":"2024-11-06T10:18:45.000Z","dependencies_parsed_at":"2024-11-04T11:23:24.878Z","dependency_job_id":"2c744a1f-7e8e-4f21-bc6e-b6b0afbf1201","html_url":"https://github.com/wpcodevo/go-postgres-crud-rest-api","commit_stats":null,"previous_names":["wpcodevo/go-postgres-crud-rest-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpcodevo/go-postgres-crud-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-crud-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-crud-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-crud-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-crud-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/go-postgres-crud-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-crud-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crud","crud-api","crud-api-fiber","go","golang","gorm-orm","postgres"],"created_at":"2024-11-27T11:15:19.440Z","updated_at":"2026-04-18T04:33:46.493Z","avatar_url":"https://github.com/wpcodevo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  CRUD Operations on PostgreSQL with a Golang REST API\n\nIn this article, you will learn how to create a CRUD REST API in Golang using Fiber as the web framework and PostgreSQL as the database.\n\n![CRUD Operations on PostgreSQL with a Golang REST API](https://codevoweb.com/wp-content/uploads/2024/11/CRUD-Operations-on-PostgreSQL-with-a-Golang-REST-API.webp)\n\n## Topics Covered\n\n- Run and Test the REST API\n- Set Up the Golang Project\n- Set Up PostgreSQL with Docker\n- Load the Environment Variables\n- Connect the App to the PostgreSQL Database\n- Create the Database Model and Request Schemas\n- Perform the CRUD Operations\n  - Handle the Create Operation\n  - Handle the Read Operation\n  - Handle the Update Operation\n  - Handle the Delete Operation\n  - The Complete CRUD Code\n- Set Up CORS and the CRUD Endpoints\n- Conclusion\n\n  \nRead the entire article here: [https://codevoweb.com/crud-operations-on-postgresql-with-a-golang-rest-api/](https://codevoweb.com/crud-operations-on-postgresql-with-a-golang-rest-api/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fgo-postgres-crud-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fgo-postgres-crud-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fgo-postgres-crud-rest-api/lists"}