Ugin

screenshot of Ugin

UGin is an API boilerplate written in Go (Golang) with Gin Framework.

Overview:

UGin is an API boilerplate written in Go with the Gin Framework. It provides support for various databases such as Sqlite3, MySQL, and PostgreSQL. The boilerplate includes default models for Post and Tag and offers filtering, search, and pagination functionality. UGin also has a powerful logging system and comes with pre-defined routes for CRUD operations and authentication.

Features:

  • Database Support: UGin supports Sqlite3, MySQL, and PostgreSQL databases through the use of the gorm ORM.
  • Default Models: The boilerplate includes default models for Post and Tag to demonstrate the usage of relational databases.
  • Filtering, Search, and Pagination: UGin provides a built-in system for handling filtering, search, and pagination of API requests.
  • Logging: UGin has a robust logging logic with separate logs for application, database, and access information.
  • Pre-defined Routes: UGin comes with pre-defined routes for common CRUD operations on posts, as well as authentication routes for sign-up, sign-in, and token management.
  • Running Mode: The Gin framework used by UGin can be set to different running modes based on the GIN_MODE environment variable.

Summary:

UGin is an API boilerplate written in Go with the Gin Framework that provides support for various databases and comes with features such as default models, filtering, search, and pagination. It also includes pre-defined routes for common CRUD operations and authentication. Using UGin can significantly reduce the time and effort required to build a scalable and secure API backend.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.