typical-rest-server

module
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: MIT

README

Typical-RESTful-Server

Example of typical and scalable RESTful API Server for Go

Getting Started

This is intruction to start working with the project: 0. Install Go or using homebrew if you're using macOS brew install go

Usage

There is no specific requirement to run the application.

Build Tool

Use ./typicalw to execute development task

Make a release

Use ./typicalw release to make the release. More information check here

Configurations

Key Type Default Required Description
APP_ADDRESS String :8089 true

Echo Server with Logrus

Key Type Default Required Description
SERVER_DEBUG True or False false

Postgres Database

Key Type Default Required Description
PG_DBNAME String true
PG_USER String postgres true
PG_PASSWORD String pgpass true
PG_HOST String localhost
PG_PORT Integer 5432
PG_MIGRATIONSRC String scripts/migration

Directories

Path Synopsis
EXPERIMENTAL
app
helper/timekit
Package timekit provide error safe function for time function
Package timekit provide error safe function for time function
cmd
app command
test-parser command
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL