P.S. This project was written in 2017 and became outdated. New version could be found here
In this project I try to understand, how to create web apps using golang.
There are so many examples about creating simple chats, but unfortunately to little about creating complex web solutions with authentication and config management, etc.
So in this project I try to discribe as many different web problem solving, as I can.
To start server you need to copy example.json
to config.json
and change values, configure database connection
cp example.json config.json
Also you need to install all dependencies using Govendor tool
go get -u github.com/kardianos/govendor
govendor sync
Than you need to build binary file
go build -o output_binary .
And run binary file
./output_binary