Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 657 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 657 Bytes

GOsimpleserver

config.ini exemple (for postgres database)

config.ini

[server]
host = localhost
port = 11111
user = USER
password = PASSWORD
dbname = DBNAME

[application]
secret = MySecretKey

Start

make build-go

its create files:

  1. app - web application (api router (JWT), privat router (Cookies))
  2. monitor - for crontab application
  3. /static - its frontend files

Dependences

  1. install node.js and install packages -> npm i --save in /src/frontend folder
  2. install golang

and end, you can run command make go-build. Its create /build folder in your directory with compiled project