userService/

directory
v0.0.0-...-af1923c Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: MIT

README

UserService RESTful Go server

Configuration

Create the following sub-folders:

  • log
  • configFiles

Then edit configFiles/config.yaml file and use cfgcrypt to encrypt it.

Example config file
db:
        port: 27017
        server: mongodb
        database: databaseName
        username: databaseUserName
        password: #{{someDatabasePassword}}#
log:
        path: /log/server.log
        level: defaultLogLevel
http:
        hostname: '' # leave blank for production
        port: 80

Prerequisites

Build

habitus

Run

docker-compose up

Development

To add source to go path, cd to this folder and run export GOPATH=$GOPATH:pwd``

Jump to

Keyboard shortcuts

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