Skip to content

Go starter template project + GORM + Echo + Go-Playground Validation

License

Notifications You must be signed in to change notification settings

ralberts/golang-starter-template

Repository files navigation

Go Starter Template

golang-starter-template is an opinionated golang backend development template that includes setup with GORM ORM (Postgres, etc), Echo web framework for API's, Go-playground for validation.

Overview

Table of Contents

Features

TODO Future

  • Integrates go-swagger for compile-time autogeneration of swagger.json and request/response validation functions.
  • Integrates MailHog for easy SMTP-based email testing
  • Parallel jobs optimized Makefile and various convenience scripts, a full rebuild via make build only takes seconds

Usage

Requirements

Requires the following local setup for development:

Quickstart

After your git clone you may do the following:

# $local
# Easily start the docker-compose
docker-compose up -d
# Defaults to Postgres
# Create golang-starter-template db in postgres via localhost:8080

sh ./run-local.sh

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Maintainers

About

Go starter template project + GORM + Echo + Go-Playground Validation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published