typical-rest-server

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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
  2. Clone the project

Usage

There is no specific requirement to run the application. Please find the binary at the /bin folder.

TODO: show list of application usage if any

Typical Task

The project is empowered by typical-go to provide day-to-day development/admnistration task

TODO: show list of typical task

Deployment

There is no specific requirement to deploy the application. Please find the stable binary at release page

Configuration

Please set the configuration using Environment Variable.

Application

Key Type Default Required Description
APP_ADDRESS String :8089 true

Postgres

Key Type Default Required Description
PG_CONFIG dbtool.Config
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
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