|
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
|
4 | 27 |
|
|