Skip to content

vishal2457/redmine-server-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Gin GORM starter

This repository contains a starter template for rapid microservice development with Go. It uses Gin and GORM.

Installation

  • Get the repository from GitHub
git clone [email protected]:henvo/golang-gin-gorm-starter.git
  • Install dependencies
go get
  • Run app
go run main.go

Things to consider

  • Rename all instances of github.com/henvo/golang-gin-gorm/ to your package
  • Switch from the default database driver (mysql) to sqlite, postgresql, ...

Env variables

  • PORT (Default: 8080)
  • GIN_MODE (Default: debug)
  • DATABASE_HOST (Default: localhost:3306)
  • DATABASE_NAME (Default: go_test)
  • DATABASE_USERNAME (Default: golang)
  • DATABASE_PASSWORD (Default: golang)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published