{"id":21801101,"url":"https://github.com/wpcodevo/golang-fiber","last_synced_at":"2025-04-13T18:30:42.721Z","repository":{"id":65752573,"uuid":"594522269","full_name":"wpcodevo/golang-fiber","owner":"wpcodevo","description":"In this article, you'll learn how to build a CRUD API in Golang using the Fiber web framework and GORM. The REST API will run on a Fiber HTTP server and use GORM to persist data in a PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2023-01-29T12:53:35.000Z","size":26,"stargazers_count":10,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T09:11:53.710Z","etag":null,"topics":["api","crud","crud-api","crud-application","docker","fiber","fiber-framework","golang","gorm","gorm-orm","postgres","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/create-crud-api-in-golang-using-fiber-and-gorm/","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}},"created_at":"2023-01-28T20:05:34.000Z","updated_at":"2025-03-01T22:55:25.000Z","dependencies_parsed_at":"2023-02-15T22:45:36.773Z","dependency_job_id":null,"html_url":"https://github.com/wpcodevo/golang-fiber","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/wpcodevo%2Fgolang-fiber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgolang-fiber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgolang-fiber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgolang-fiber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/golang-fiber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760230,"owners_count":21157315,"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","crud","crud-api","crud-application","docker","fiber","fiber-framework","golang","gorm","gorm-orm","postgres","postgresql","rest-api"],"created_at":"2024-11-27T11:16:17.503Z","updated_at":"2025-04-13T18:30:42.692Z","avatar_url":"https://github.com/wpcodevo.png","language":"Go","readme":"# Create CRUD API in Golang using Fiber and GORM\n\nIn this article, you'll learn how to build a CRUD API in Golang using the Fiber web framework and GORM. The REST API will run on a Fiber HTTP server and use GORM to persist data in a PostgreSQL database.\n\n![Create CRUD API in Golang using Fiber and GORM](https://codevoweb.com/wp-content/uploads/2023/01/Create-CRUD-API-in-Golang-using-Fiber-and-GORM.webp)\n\n## Topics Covered\n\n- Run the Golang Fiber Project Locally\n- Run the Fiber API with React.js App\n- Setup the Golang Project\n- Setup Postgres and pgAdmin with Docker\n- Design the Database Model with GORM\n- Load Environment Variables and Connect to Postgres\n    - Load the Environment Variables\n    - Connect to the Postgres Server\n    - Database Migration with GORM\n- Implement the CRUD Functionalities\n    - Add New Record\n    - Fetch All Records\n    - Edit a Record\n    - Retrieve a Single Record\n    - Delete a Record\n- Create the API Routes and Add CORS\n\n\nRead the entire article here: [https://codevoweb.com/create-crud-api-in-golang-using-fiber-and-gorm/](https://codevoweb.com/create-crud-api-in-golang-using-fiber-and-gorm/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fgolang-fiber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fgolang-fiber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fgolang-fiber/lists"}