Commit Graph
7 Commits
Author SHA1 Message Date
Luca Casonato ff69a0abdf feat: add api routes (#11)
This commit adds API routes. These routes are located in the
./pages/api/ directory. Each file in there will have it's default
export invoked for HTTP calls to the corresponding route.
2021-06-02 00:15:00 +02:00
Luca Casonato 31dbd99bea chore: improve bundling + refactor router (#10)
This commit changes how bundling works, by bundling all routes at once.
Static JS assets are now cached immutably.

Additionally this PR completly refactors how the router works to make it
more modular. This allows users to opt out of the default oak server,
and instead create their own.
2021-06-01 23:19:33 +02:00
Luca Casonato 8a58fe7ae0 fix 2021-05-08 18:52:36 +02:00
Luca Casonato 771643d1c4 update example 2021-05-08 18:47:54 +02:00
Luca Casonato f42fff1a31 new example 2021-05-08 12:57:33 +02:00
Luca Casonato 9145711e2e remove need for export function self 2021-05-08 03:12:56 +02:00
Luca Casonato 6ecdf2ed73 init 2021-05-08 02:07:24 +02:00