typical-rest-server

module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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:

  1. Install Go or using homebrew if you're using macOS brew install go

Usage

There is no specific requirement to run the application.

Development Tool

Use ./typicalw to execute development task

Make a release

Use ./typicalw release -github=[TOKEN] to make the release. You can found the release in release folder or github release page

Configurations

Application configuration

Key Type Default Required Description
APP_ADDRESS String :8089 true

Postgres configuration

Key Type Default Required Description
PG_DBNAME String typical-rest-server true
PG_USER String default_user true
PG_PASSWORD String default_password 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
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