aboutsummaryrefslogtreecommitdiff
path: root/lib/Server.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more or less functional servicealerts for gtfs rtstuebinm2022-07-021-62/+8
| | | | (kinda barebones, but the important things should be there)
* gtfs realtime proof of conceptstuebinm2022-07-021-1/+63
| | | | | | | | this adds a package for protobuf stuff, generated via hprotoc. Seems to work kinda fine? (the generated API is horrible though, will have to write some wrappers for that)
* optional date parameter for the timetable endpointstuebinm2022-06-271-4/+8
| | | | (mostly to make debugging easier, but also more generially useful i guess)
* foreign keys are a thingstuebinm2022-06-161-47/+19
| | | | | | (and they can be useful, too!) Also, documentation & deleting imports / extensions that aren't used.
* actually use the databasestuebinm2022-06-161-96/+103
| | | | | | (at least for a few simple things) Also, more modules!
* add some persist stuffstuebinm2022-06-151-22/+35
| | | | | this doesn't yet actually use the database, but it's getting close to 3am and I should probably go to bed or something
* generate OpenAPI docsstuebinm2022-06-101-37/+69
| | | | lots of lenses in this stuff :(
* restructure GTFS typesstuebinm2022-06-061-8/+6
| | | | | | | unfortunately doesn't quite get rid of all the type family still since it's just too useful … but does reduce it somewhat. Also, maps are much easier for looking things up than vectors!
* better aeson genericsstuebinm2022-06-061-2/+7
| | | | (template haskell doesn't work well with type families, unfortunately)
* basic server setupstuebinm2022-06-051-0/+96