go-gin-starter

module
v0.0.0-...-1f0604f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: Apache-2.0

README ΒΆ

Golang Gin Starter & Boilerplate πŸš€

A robust and scalable starter template for building backend applications using Golang and the Gin framework, designed with clean architecture principles.

πŸ› οΈ Tech Stack

  • βš™οΈ Golang: v1.23 – Efficient, statically typed, compiled language.
  • πŸ—„οΈ PostgreSQL: PostgreSQL – Reliable and powerful SQL database.

πŸ“š Framework & Libraries

  • 🌐 Gin: Gin – Fast and flexible HTTP web framework.
  • 🐘 Pgx: Pgx – High-performance Postgres driver.
  • βš™οΈ Viper: Viper – Powerful configuration management.
  • πŸ—ƒοΈ Golang Migrate: Golang Migrate – Database migrations made easy.
  • πŸ“ Zerolog: Zerolog – Blazing fast, structured logging.
  • πŸ”„ Air: Air – Live reload for Go apps.

πŸš€ Getting Started

1️⃣ Clone the Repository

Clone the repository using the command below:

git clone https://github.com/JordanMarcelino/go-gin-starter

Or you can also use this repository as template

2️⃣ Move into the Directory

Navigate to the project directory:

cd go-gin-starter
3️⃣ Run the Local Server with Hot Reload

Use Air to start the development server with hot reload:

air
4️⃣ Build & Run the Docker Container

Deploy your application using Docker Compose:

docker compose up -d --build

Happy coding! πŸ§‘β€πŸ’»πŸŽ‰

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL