3e4722e3ca
fixed websocket messages, which were plaintext or just bytes. A JSON object was needed to differentiate between commands and what was returned to the server as a response. The random naming function now has lower case suffixes
68f135fb7b
changed hardcoded database configuration to environment variables. Other configuration can also be added to the configuration struct for further usage inside the app. Added an environment file to source for development and usage outside the cluster.
bdb11641d3
moved parts like websocket server, name generator and api to the src directory. Removed redundant code from main.go. Removed templates and directories which won't be needed