A somewhat simple web-app for notes.
sql | ||
static | ||
.gitignore | ||
config.go | ||
connection_manager.go | ||
db.go | ||
file.go | ||
go.mod | ||
go.sum | ||
key.go | ||
main.go | ||
node.go | ||
README.md | ||
request_response.go | ||
session.go | ||
TODO | ||
user.go | ||
version |
Create a configuration file $HOME/.config/notes.yaml
with the following content:
websocket:
domains:
- notes.com
database:
host: 127.0.0.1
port: 5432
name: notes.com
username: notes
password: SomePassword
application:
directories:
static: /usr/local/share/notes
upload: /usr/local/lib/notes/upload
session:
daysvalid: 31
Create an empty database.