Commit Graph

74 Commits

Author SHA1 Message Date
Rashad Gover
87c65c7064 Add SSE example 2023-11-17 02:42:49 -08:00
Rashad Gover
775479eb9b Factor out examples to seperate directories 2023-11-17 02:02:23 -08:00
Rashad Gover
4c2b0d3515 Update Calculator example 2023-11-15 02:16:22 -08:00
Rashad Gover
9e2873696e Update README 2023-11-14 07:53:36 -08:00
Rashad Gover
3f323b884d Remove recursion-schemes dependency for now 2023-11-14 07:22:38 -08:00
Rashad Gover
730967f143 Remove popHeader function 2023-11-14 07:19:22 -08:00
Rashad Gover
309d83c398 Add type families for turning ResponseHeaders Map into WAI ResponseHeaders 2023-11-14 07:18:02 -08:00
Rashad Gover
13c22c26ea Add any function for handling all HTTP methods with the same handler 2023-11-14 05:36:47 -08:00
Rashad Gover
13291db5a5 Clean up bookshelf example 2023-11-14 04:36:13 -08:00
Rashad Gover
3569052713 Add Bookstore example 2023-11-14 03:27:50 -08:00
Rashad Gover
9eef8d3a74 Separate examples 2023-11-12 21:20:20 -08:00
Rashad Gover
9e578bad59 Add flipped calc example for testing 2023-11-12 20:28:52 -08:00
Rashad Gover
44c5c713c1 Add working calculator API example 2023-11-12 20:19:39 -08:00
Rashad Gover
d35f0d359d Change Choose to Choice for consistency 2023-11-12 11:22:40 -08:00
Rashad Gover
cd7a5b3952 Add combinator 2023-11-11 23:08:19 -08:00
Rashad Gover
2e9ccfb076 Give Responder constructor a single Atom argument instead of a list of Atom 2023-11-11 22:49:34 -08:00
Rashad Gover
dde11395d8 Add responder combinator; get rid of Tagged responses 2023-11-11 19:33:54 -08:00
Rashad Gover
d55a09da63 Use Tag class for Responses as well. May change 2023-11-09 08:54:09 -08:00
Rashad Gover
28dfaee421 Fix formatting 2023-11-09 04:53:32 -08:00
Rashad Gover
7cf1a63268 and need to be mutually recursive 2023-11-09 04:44:48 -08:00
Rashad Gover
95fb25821c Add function for simplifying List of Atom 2023-11-09 04:39:47 -08:00
Rashad Gover
c57115f8bc Implement equality for Atom 2023-11-09 03:01:07 -08:00
Rashad Gover
5d522a8772 Add tagged middleware 2023-11-09 02:17:01 -08:00
Rashad Gover
3928ad73f6 Add To/From classes and Parsers/Builders 2023-11-09 01:50:43 -08:00
Rashad Gover
47885da6e7 Clean up 2023-11-08 18:20:10 -08:00
Rashad Gover
e40d64d5e1 Attempt to add type-safe URL routing failed. Doesn't seem possible because I'm using lists to build the API structure. It seems I would need to implement custom combinators, like servant, which defeats the purpose of this library. 2023-11-07 23:46:49 -08:00
Rashad Gover
5b13261d30 Use heterogenous list instead of Secret keys to pass arguments to handlers 2023-11-06 19:42:42 -08:00
Rashad Gover
ccb3ca001d Fix names; fix Splat combinator; experiment with type-level Response, API, and other parts where it makes sense 2023-10-30 05:21:19 -07:00
Rashad Gover
917caadaec Add example APIs for testing potential API; add pretty printers 2023-10-19 23:57:40 -07:00
Rashad Gover
a3caeb9ffb New trie based routing algorithm; helpers for testing, logging, etc. 2023-10-19 16:42:18 -07:00
Rashad Gover
90225e6330 Change order in which middleware is applied by Scope 2023-10-15 14:38:05 -07:00
Rashad Gover
25d9ff448f Make sure processing Scope tag drops the prefix from request pathInfo 2023-10-15 14:34:26 -07:00
Rashad Gover
e5dc37f7ab Add Scope constructor to App 2023-10-15 14:11:04 -07:00
Rashad Gover
c582d29faf Clean up modules 2023-10-15 12:51:54 -07:00
Rashad Gover
90008469bb Experiment with flexible Cuba-like routing 2023-10-15 06:13:41 -07:00
Rashad Gover
2ca3855f5d Cleaning up and implementing helpers; moving on to playing with Roda/Cuba-like routing system 2023-10-15 06:13:04 -07:00
Rashad Gover
24a15646ef More scratch 2023-10-13 09:40:42 -07:00
Rashad Gover
dbe6c7f6e0 Wow. Macros? 2023-09-19 03:59:14 -07:00
Rashad Gover
1622ede6ea Wow 2023-09-19 02:15:00 -07:00
Rashad Gover
6f795de40f Maybe good...? 2023-09-19 01:28:20 -07:00
Rashad Gover
613f599095 Not good 2023-09-18 22:08:24 -07:00
Rashad Gover
ce4e6aedf1 Add parsers for Headers 2023-07-20 14:39:11 +09:00
Rashad Gover
7bb09c4b94 Implement parsers for query 2023-07-20 04:06:45 +09:00
Rashad Gover
c3c0efa76d Remove unecessary code; add basic patterns 2023-07-19 19:16:04 +09:00
Rashad Gover
1ef2fb431f Final commit before redesign to make Okapi DSL easier to turn into OpenAPI specs 2023-05-01 08:51:42 +00:00
Rashad Gover
9fd188ac37 Begin implementing realword server; add Alt instance for Security Scripts 2023-04-24 07:33:12 +00:00
Rashad Gover
b7d1389507 Add auth to endpoints 2023-04-24 06:34:18 +00:00
Rashad Gover
ea64c755dd Implement Security 2023-04-24 05:25:45 +00:00
Rashad Gover
361f6aa82d Add Security field 2023-04-24 03:51:09 +00:00
Rashad Gover
2b8c8e0eb4 Add Security field; update docs 2023-04-24 03:50:45 +00:00