A robust and scalable starter template for building backend applications using Golang and the Gin framework, designed with clean architecture principles.
- ⚙️ Golang: v1.23 – Efficient, statically typed, compiled language.
- 🗄️ PostgreSQL: PostgreSQL – Reliable and powerful SQL database.
- 🌐 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.
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
Navigate to the project directory:
cd go-gin-starter
Use Air to start the development server with hot reload:
air
Deploy your application using Docker Compose:
docker compose up -d --build
Happy coding! 🧑💻🎉