GoGinStarter is a starter project for building web applications using the Go programming language and Gin web framework.
It provides a basic structure and set of features to kickstart your project.
- Wire for Dependency Injection
- Logger
- Cache
- Paginator
- Session and Cookies
- Command Lines using cobra
- Event/Listeners
- Localization
- Notifications
- API Responses
- Authentication with OTP and JWT
- Scheduling Tasks with gocron
- Configuration management for yaml files
- Database migrations and seeders with GORM
- Database: MySql, PostgresSql
- Cache: File, Redis
- Notification: sms, email
- Go - The programming language used
- Gin - The web framework used
- Gorm - The database ORM tool used
- Clone the repository:
git clone https://github.com/prodemmi/GoGinStarter.git
- Install the dependencies:
go mod download
- Make yaml config file:
cp .yaml.example .yaml
- Serve the web application:
go run main.go serve
Contributions are welcome! If you find a bug or have an enhancement in mind, please open an issue or submit a pull request.
GoGinStarter is licensed under the MIT License. See LICENSE for more information.