Build a good structure with golang (go, gin, mysql, gorm)



Learn to Build Robust and Scalable Web Applications with Go, Gin, MySQL, and GORM

What you will learn

Building a good structure with golang using gin framework

Using the most popular golang plugins

Have a good practice on creating custom packages

Complete building a blog project with authentication system

Learn how to use gin framework the HTTP web framework written in Golang

Build an advanced features like [migrations, seeders] and creating a pretty cli

Description

If you’re looking to learn how to build robust and scalable web applications with Go, Gin, MySQL, and GORM, this is the course for you. In this course, you will learn how to build a solid and maintainable structure for your Go web applications using some of the most popular tools and frameworks in the Go ecosystem.

We will start by discussing the principles of good application design and how to implement them in Go using a layered architecture and various design patterns. You’ll also learn how to set up a project structure that facilitates code organization, reuse, and testing.

Next, we’ll dive into Gin, a lightweight web framework that makes it easy to handle HTTP requests and responses in a clear and concise way. You’ll learn how to use Gin to create web applications.


We’ll also cover MySQL, one of the most popular relational database engines, and GORM, a powerful ORM library that provides a simple and intuitive way to work with databases in Go. You’ll learn how to connect your application to a MySQL database, and how to perform common database operations such as querying, inserting, updating, and deleting data.

Throughout the course, you’ll work on a sample project that demonstrates all the concepts and techniques covered. By the end of the course, you’ll have a solid understanding of how to build robust and scalable web applications with Go, Gin, MySQL, and GORM, and how tomaintain them over time as they evolve and grow. With these skills, you’ll be well-equipped to develop high-performance and scalable web applications that can handle large amounts of traffic and data.

In summary, this course is designed to provide you with a comprehensive and practical understanding of how to build web applications with Go, Gin, MySQL, and GORM. Whether you’re new to Go or an experienced developer looking to expand your skill set, this course will equip you with the knowledge and tools you need to build high-quality and maintainable web applications. So, enroll now and start your journey to becoming a proficient Go web developer!

English
language

Content

Introduction

Introduction
Source code

Project structure

Project structure
Project configurations
Cli interactions

Packaging

Create config package
Create routing package
Create serve package
Create html package
Create static package

Blog project

Blog project – Home page

Database

MySQL connection
Database Models
Database Migration
Database Seeder

Project layers

Repository layer
Service layer
Custom response

Blog pages

Blog project – Finalize home page
Blog project – Show article part 1
Blog project – Show article part 2
Blog project – Show article part 3

Authentication

Blog project – Register form
Blog project – Handle register form part 1
Blog project – Handle register form part 2
Blog project – Handle form errors
Blog project – Show errors on the form
Blog project – Show old data on the form
Blog project – Finalize registration
Blog project – Login form
Blog project – Handle login form
Blog project – Finalize login
Blog project – Auth middlewares

Final touches

Blog project – Article form
Blog project – Handle article form
The end
Source code

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock

Check Today's 30+ Free Courses on Telegram!

X