Commit Graph

311 Commits

Author SHA1 Message Date
Rashad Gover
2e8e590ae8 Create release.md 2022-08-23 15:26:50 -05:00
Rashad Gover
48d8dbccc8 Move everything into a single file; qualify all imports 2022-08-21 01:05:23 +00:00
Rashad Gover
3cdbd08e7b Add support for middlewares 2022-08-20 20:01:00 +00:00
Rashad Gover
7fa30b336c Add routeToFile for file-based routing 2022-08-19 10:49:41 +00:00
Rashad Gover
ee641f0748 Reorganize and fix examples 2022-08-19 10:41:01 +00:00
Rashad Gover
0a8d82ce5d Work Request decoders and encoders; begin rewriting tests 2022-08-19 07:51:12 +00:00
Rashad Gover
fd8eeccbf8 Remove MonadIO constraint from MonadOkapi; change how Okapi.Pattern works 2022-08-18 07:26:51 +00:00
Rashad Gover
10d08f16f2 Add more to Okapi.Patterns 2022-08-17 18:39:49 +00:00
Rashad Gover
81ac9b5780 Add query parameters to URLData patterns and constructors 2022-08-17 02:46:03 +00:00
Rashad Gover
1eb147de05 Add mock test 2022-08-16 22:50:41 +00:00
Rashad Gover
52fa8cf3c7 Add test helpers for patterns 2022-08-16 22:48:23 +00:00
Rashad Gover
de60b2b6f4 Add Okapi patterns ~ stripes? 2022-08-16 22:33:58 +00:00
Rashad Gover
a869311c5a Rename modules 2022-08-15 01:52:08 +00:00
Rashad Gover
f89974c283 Move experimental modules into separate folder 2022-08-15 01:49:45 +00:00
Rashad Gover
68c4d60e95 Add Matchers for Patterns 2022-08-11 04:21:33 +00:00
Rashad Gover
d2dbbbb7dc Add pathWildcard parser; add more doctests 2022-08-07 01:46:57 +00:00
Rashad Gover
b1fccddc4c Remove lucid dependency; shorten function names 2022-08-06 19:31:22 +00:00
Rashad Gover
0b5ce4016d Introduce wildcard parser for parsing all remaining path segments 2022-08-06 11:02:28 +00:00
Rashad Gover
ccac8e5855 Start adding Haddock documentation and doctests 2022-08-06 10:25:57 +00:00
Rashad Gover
342ee25ebc Reorg modules again; finalize imports & exports 2022-08-06 05:21:53 +00:00
Rashad Gover
00625b84fc Reorganize modules; fix imports 2022-08-05 18:29:58 +00:00
Rashad Gover
c99cc3e79c Add support for Websockets 2022-08-04 05:27:44 +00:00
Rashad Gover
1f2a6d2e16 Reorganize modules 2022-08-04 00:22:25 +00:00
Rashad Gover
ac9122e1a4 Remove FastParser.hs for now 2022-08-02 20:00:42 +00:00
Rashad Gover
7b1a2cac14 Fix imports and formatting 2022-08-02 20:00:12 +00:00
Rashad Gover
e7c10818f8 Improve testing API 2022-08-02 19:53:18 +00:00
Rashad Gover
018c2aae05 Fix how route generation works 2022-08-02 16:35:23 +00:00
Rashad Gover
372e973a98 Add bind syntax to parser generator syntax 2022-07-31 05:50:12 +00:00
Rashad Gover
8d0f225ad6 Fix render of first query param in URL gen function 2022-07-31 04:03:42 +00:00
Rashad Gover
db74173670 Modify generated URL test 2022-07-31 02:17:34 +00:00
Rashad Gover
6f0fdd25b6 Fix formatting 2022-07-31 02:17:00 +00:00
Rashad Gover
45ba0ef2da Implement outte generation; add test for generated url func 2022-07-31 02:16:42 +00:00
Rashad Gover
fc82eecc3f Get ready to implement routePartsToExp function 2022-07-30 04:19:44 +00:00
Rashad Gover
3b20a2e812 Make queryFlag return Bool instead of failing implicitly 2022-07-30 04:05:10 +00:00
Rashad Gover
78ed75b736 Complete initial version routeParser; add test for routeParser 2022-07-30 04:01:40 +00:00
Rashad Gover
e88fb0a2b8 Implement beginning of parser for route quasiquotes 2022-07-30 03:14:08 +00:00
Rashad Gover
435a46404c Implement todo example 2022-07-29 09:37:08 +00:00
Rashad Gover
5e4d4bcd00 Get calc example back up 2022-07-29 04:39:07 +00:00
Rashad Gover
fd23e8efeb Add more test helpers; change name of error to throw 2022-07-29 04:16:01 +00:00
Rashad Gover
74dcdfeda0 Add test for queryFlag parser and traliing slash parser 2022-07-28 06:44:05 +00:00
Rashad Gover
cee2b34591 Make Response API cleaner 2022-07-28 06:23:19 +00:00
Rashad Gover
cfacbc6fef Add more tests 2022-07-27 09:41:27 +00:00
Rashad Gover
37d6363e79 Fix tests 2022-07-27 08:48:10 +00:00
Rashad Gover
3734bd0f28 Update README.md 2022-07-26 22:52:57 -05:00
Rashad Gover
0387332c00 Update README.md 2022-07-26 22:44:45 -05:00
Rashad Gover
c7f40d470c Update README.md 2022-07-26 22:43:53 -05:00
Rashad Gover
7f5a58d075 Update README.md 2022-07-26 22:42:57 -05:00
Rashad Gover
73354a2a45 Update README.md 2022-07-26 21:55:33 -05:00
Rashad Gover
acdb64521a Cut down number of examples 2022-07-27 02:48:29 +00:00
Rashad Gover
d0a2169c7d Work on Parser Monad that uses IO for better performance 2022-07-27 02:41:36 +00:00