Commit Graph

19 Commits

Author SHA1 Message Date
5032c7408c merge Store into Point 2024-11-11 21:13:50 +00:00
886089fbcd extract Session module 2024-11-10 16:18:18 +00:00
617feef051 extract Point from Track 2024-11-10 15:43:13 +00:00
6c3eb694f0 add "session"
a session is a series of points which we assume (or the
rider confirms) comprise a complete and continuous ride
2024-11-10 13:11:13 +00:00
b21eda22ad chek for overlap when uploading file 2024-11-07 18:59:56 +00:00
04797427fc add start and duration params to json endpoint 2024-11-06 22:00:51 +00:00
8bd67b2096 serve JSON fron db at /points 2024-11-05 23:32:01 +00:00
798ded7541 save points to postgres in upload handler 2024-11-05 19:37:11 +00:00
2fae769bb9 add postgres 2024-11-04 23:37:48 +00:00
1b8293f93e upload gpx file (cargo-culted, very rough) 2024-11-03 18:41:29 +00:00
0d4da6ec93 add glue to serve frontend js from backend 2024-11-03 12:21:47 +00:00
fa289335d3 add yesod
hello world exaple is based on
https://github.com/yesodweb/yesod?tab=readme-ov-file#getting-started
2024-10-31 23:58:47 +00:00
a15346ae7a add Track.parseFile and call it from the main app
that's right, this is no longer a hello world app
2024-10-31 18:29:57 +00:00
dd49bc50fa parse trkpt timestamp 2024-10-30 17:44:40 +00:00
c514c20e68 use real gpx namespace 2024-10-30 13:30:33 +00:00
5ec65cc49b beginning of xml parsing 2024-10-28 23:35:36 +00:00
0ad6eaec2f test calls actual code we wrote 2024-10-27 23:13:39 +00:00
ed94fa57bc make "cabal test" work 2024-10-27 20:19:58 +00:00
ad919999bc cabal init and some Haskell nixy stuff
nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [  cabal-install ])" --run "cabal init"
2024-10-27 20:19:38 +00:00