|
1 |
| -#Build Golang RESTful API with Gorm, Gin and Postgres |
| 1 | +#Build a RESTful CRUD API with Golang |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +This article will teach you how to create a CRUD RESTful API in a Golang environment that runs on a Gin Gonic server and uses a PostgreSQL database. We’ll also discuss how you can build models, connect to the running SQL database server, and run database migrations with the GORM library. |
| 6 | + |
| 7 | +##Topics Covered |
| 8 | + |
| 9 | +- What is a REST API |
| 10 | +- What is a REST API |
| 11 | +- What is GORM |
| 12 | +- What is Gin Gonic |
| 13 | +- Create the Database Models with GORM |
| 14 | +- Generating the SQL Table with GORM |
| 15 | +- Creating CRUD Functions in a RESTful API |
| 16 | +- Create a Constructor for the CRUD Operations |
| 17 | +- Create Operation Route Handler |
| 18 | +- Update Operation Route Handler |
| 19 | +- Retrieve a Single Record Route Handler |
| 20 | +- Retrieve All Records Route Handler |
| 21 | +- Delete Operation Route Handler |
| 22 | +- Creating Routes for the CRUD Operations |
| 23 | +- Update/Configure the Golang API Server |
| 24 | +- Testing the Golang CRUD API with Postman |
| 25 | +- Log into the API |
| 26 | +- Creating a New Record |
| 27 | +- Updating the Record |
| 28 | +- Request a Single Record |
| 29 | +- Retrieve all Records with Paginated Results |
| 30 | +- Delete a Record |
| 31 | + |
| 32 | +Read the entire article here:[https://codevoweb.com/build-restful-crud-api-with-golang](https://codevoweb.com/build-restful-crud-api-with-golang) |
| 33 | + |
| 34 | +Articles in this series: |
2 | 35 |
|
3 | 36 | ###1. How to Setup Golang GORM RESTful API Project with Postgres
|
4 | 37 |
|
|