You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readMe.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,27 @@
1
-
# Build Golang RESTful API with Gorm, Gin and Postgres
1
+
# How to Setup Golang GORM RESTful API Project with Postgres
2
+
3
+

4
+
5
+
This article will guide you on how you can set up a Golang project with the GORM library and PostgreSQL to build CRUD RESTful API to perform the basic Create/Get/Update/Delete operations
6
+
7
+
## Topics Covered
8
+
9
+
- What is an ORM?
10
+
- Setup the Golang Project
11
+
- Initialize the Golang Project
12
+
- Create a PostgreSQL Docker Container
13
+
- Load and Validate the Environment Variables
14
+
- Create a Utility Function to Connect to PostgreSQL
15
+
- Data Modeling and Migration with GORM
16
+
- Creating the Database Model with GORM
17
+
- Install the UUID OSSP Module for PostgreSQL
18
+
- Migrating the Schema with GORM
19
+
- Create the Golang Server with Gin Gonic
20
+
- Testing the Golang API
21
+
22
+
Read the entire article here: [https://codevoweb.com/setup-golang-gorm-restful-api-project-with-postgres](https://codevoweb.com/setup-golang-gorm-restful-api-project-with-postgres)
23
+
24
+
Articles in this series:
2
25
3
26
### 1. How to Setup Golang GORM RESTful API Project with Postgres
0 commit comments