aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-13 22:53:29 +0200
committerJulien Dessaux2021-04-13 22:57:10 +0200
commit2d75d2cb7443a2c398dc317ae6335153b4c05f03 (patch)
tree787bf916964e47635c4051472e20f59b24b468f1 /README.md
parentRenamed password column to hash in database (diff)
downloadtrains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.tar.gz
trains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.tar.bz2
trains-2d75d2cb7443a2c398dc317ae6335153b4c05f03.zip
Added a session table and a CreateSession function
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4015f95..1ea91cb 100644
--- a/README.md
+++ b/README.md
@@ -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