https://github.com/wpcodevo/go-postgres-crud-rest-api
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.
https://github.com/wpcodevo/go-postgres-crud-rest-api
crud crud-api crud-api-fiber go golang gorm-orm postgres
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/wpcodevo/go-postgres-crud-rest-api
- Owner: wpcodevo
- Created: 2024-11-04T09:20:45.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-11-05T11:12:36.000Z (8 months ago)
- Last Synced: 2025-01-26T03:41:16.665Z (5 months ago)
- Topics: crud, crud-api, crud-api-fiber, go, golang, gorm-orm, postgres
- Language: Go
- Homepage: https://codevoweb.com/crud-operations-on-postgresql-with-a-golang-rest-api/
- Size: 20.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD Operations on PostgreSQL with a Golang REST API
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.

## Topics Covered
- Run and Test the REST API
- Set Up the Golang Project
- Set Up PostgreSQL with Docker
- Load the Environment Variables
- Connect the App to the PostgreSQL Database
- Create the Database Model and Request Schemas
- Perform the CRUD Operations
- Handle the Create Operation
- Handle the Read Operation
- Handle the Update Operation
- Handle the Delete Operation
- The Complete CRUD Code
- Set Up CORS and the CRUD Endpoints
- Conclusion
Read 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/)