diff options
author | Julien Dessaux | 2021-04-13 22:53:29 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-04-13 22:57:10 +0200 |
commit | 2d75d2cb7443a2c398dc317ae6335153b4c05f03 (patch) | |
tree | 787bf916964e47635c4051472e20f59b24b468f1 /README.md | |
parent | Renamed password column to hash in database (diff) | |
download | trains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.tar.gz trains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.tar.bz2 trains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.zip |
Added a session table and a CreateSession function
Diffstat (limited to '')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -13,6 +13,7 @@ A personal instance runs at https://trains.adyxax.org/. - [Configuration](#configuration) - [Usage](#usage) - [Building](#building) +- [Design Choices](#design-choices) - [References](#references) ## Dependencies @@ -78,6 +79,11 @@ To cross-compile for another os or architecture, use : GOOS=openbsd GOARCH=amd64 go build -ldflags="-s -w" ./cmd/trains-webui/ ``` +## Design Choices + +- Being a small webapp, the only database supported for now is sqlite3 +- Being a small webapp with no expectation of traffic and for simplicity, the user sessions are currently stored in the database + ## References - https://www.digital.sncf.com/startup/api |