REST API Development with Gin
Developing a Bookstore App with the Gin Framework
Full-stack programming has been popular for years. Three-tier architecture: database, application server, UI. More recently, backends have delegated the UI tier to "frontends", and thus was born REST API programming.
Want to get started in REST API development for Go? In this tutorial, we'll get started with all the major pieces:
- Databases
- Driven with ORM
- JSON
- HTTP
all these topics will be shown with an emphasis on how the IDE -- GoLand -- can help.
Introduction
Introducing Gin, the high-performance web framework, written in Go.
Project Configuration
Install the dependencies used for the sample application.
Database Setup
Configuring Your PostgreSQL Database.
Project Layout
Organizing and Navigating Through Your Codebase.
Data Models
Defining models and establishing database connection
Interfaces & CRUD Operations
Centering on business logic via CRUD operations.
HTTP Handlers
Managing Web Requests - The HTTP Handler Approach.