Dillon Kearns
|
86142cb6d8
|
Remove obsolete server request code from initial prototype.
|
2021-12-31 11:52:37 -08:00 |
|
Dillon Kearns
|
78ee8d0117
|
Fix jsonError api route.
|
2021-12-31 11:17:12 -08:00 |
|
Dillon Kearns
|
3aae8c1adf
|
Remove Handler type in favor of a type variable for ServerRequest type.
|
2021-12-31 11:14:23 -08:00 |
|
Dillon Kearns
|
bfbb5866f2
|
Capture multiple matching errors for server requests.
|
2021-12-30 19:55:45 -08:00 |
|
Dillon Kearns
|
68a4fc42c4
|
Add ServerRequest tests and remove obsolete expectFormField in favor of expectFormPost.
|
2021-12-30 11:43:10 -08:00 |
|
Dillon Kearns
|
8851ab402d
|
Try reading relative to root of repo for netlify function.
|
2021-12-30 09:45:27 -08:00 |
|
Dillon Kearns
|
972c0ea9ce
|
Move secret file to content/ folder.
|
2021-12-30 09:38:03 -08:00 |
|
Dillon Kearns
|
9e9eb26a02
|
Try different lamda file read root.
|
2021-12-30 09:31:24 -08:00 |
|
Dillon Kearns
|
d0d205bee4
|
Try new filename resolution for netlify function.
|
2021-12-30 09:27:20 -08:00 |
|
Dillon Kearns
|
2a90dc9d51
|
Try adding path.resolve for netlify file paths.
|
2021-12-29 21:57:35 -08:00 |
|
Dillon Kearns
|
5e10f199d2
|
Force build.
|
2021-12-29 21:47:40 -08:00 |
|
Dillon Kearns
|
8d26233d28
|
Force build.
|
2021-12-29 21:35:25 -08:00 |
|
Dillon Kearns
|
7b62788240
|
Force build.
|
2021-12-29 17:47:22 -08:00 |
|
Dillon Kearns
|
d13a397507
|
Use in-memory fs or real fs for http cache depending on whether context is serverless.
|
2021-12-29 17:18:37 -08:00 |
|
Dillon Kearns
|
7b85ef3a0b
|
Add file upload page.
|
2021-12-29 15:57:04 -08:00 |
|
Dillon Kearns
|
b2c1a31c68
|
Handle multipart forms in dev server and adapter script.
|
2021-12-29 13:02:45 -08:00 |
|
Dillon Kearns
|
6534b10534
|
Add API for form posts, clean up Server.Request API and docs.
|
2021-12-29 07:58:40 -08:00 |
|
Dillon Kearns
|
572f6f2336
|
Add greet api function.
|
2021-12-28 11:53:33 -08:00 |
|
Dillon Kearns
|
5136dd50a6
|
Use Server.Request for ApiRoutes.
|
2021-12-28 08:32:25 -08:00 |
|
Dillon Kearns
|
d30dda3684
|
Add netlify every color example routes.
|
2021-12-27 14:22:59 -08:00 |
|
Dillon Kearns
|
10bbeb491d
|
Use more declarative interface for Server Requests.
|
2021-12-26 21:56:33 -08:00 |
|
Dillon Kearns
|
99b35546cf
|
Add starting point for SetCookie API.
|
2021-12-23 19:25:51 -08:00 |
|
Dillon Kearns
|
6dddcf96d0
|
Update ApiRoute naming for consistency with Page.elm.
|
2021-12-23 15:01:38 -08:00 |
|
Dillon Kearns
|
6f82aa59f8
|
Add ServerRequest.withRequestTime, and make body nullable.
|
2021-12-23 13:34:54 -08:00 |
|
Dillon Kearns
|
4fedf9ee19
|
Rename prerender -> preRender.
|
2021-12-23 13:34:19 -08:00 |
|
Dillon Kearns
|
afb81f7224
|
Replace handleFallback with PageServerResponse for prerenderWithFallback.
|
2021-12-23 11:14:46 -08:00 |
|
Dillon Kearns
|
42f38cbe39
|
Use new ServerRequest helpers in login page.
|
2021-12-22 21:29:57 -08:00 |
|
Dillon Kearns
|
a8f801d2ca
|
Add logout button on greet page.
|
2021-12-22 21:29:26 -08:00 |
|
Dillon Kearns
|
146240c3dd
|
Add logout endpoint.
|
2021-12-22 21:29:10 -08:00 |
|
Dillon Kearns
|
eae2fb2065
|
Add greet page and login page.
|
2021-12-22 15:28:51 -08:00 |
|
Dillon Kearns
|
71d3688dfb
|
Use temporary redirect in example redirect route.
|
2021-12-22 15:28:39 -08:00 |
|
Dillon Kearns
|
c43d7f474b
|
Wire through key for accessing DataSource.ServerRequest.
|
2021-12-22 11:29:16 -08:00 |
|
Dillon Kearns
|
f6c13c0404
|
Handle API responses from serverless Page Modules.
|
2021-12-21 12:01:08 -08:00 |
|
Dillon Kearns
|
3703916aaa
|
Add ApiRoute.prerenderWithFallback.
|
2021-12-21 09:08:17 -08:00 |
|
Dillon Kearns
|
7f2d47c6de
|
Add serverless ApiRoute builder and some examples in pokedex app.
|
2021-12-21 07:47:47 -08:00 |
|
Dillon Kearns
|
7acd5355dd
|
Add example with server request daata source.
|
2021-12-20 15:47:56 -08:00 |
|
Dillon Kearns
|
b858556167
|
Update index page with links and SEO data.
|
2021-12-20 15:02:12 -08:00 |
|
Dillon Kearns
|
843ca0bacd
|
Wire through headers, statusCode, and body from ServerResponse. Add redirect example.
|
2021-12-20 14:45:18 -08:00 |
|
Dillon Kearns
|
c79d76f473
|
Include kind in API routes to tell the rendering mode. Generate redirects for serverless API routes.
|
2021-12-20 13:35:34 -08:00 |
|
Dillon Kearns
|
7eaa94a9e4
|
Include Pattern information for ApiRoutes.
|
2021-12-20 11:26:12 -08:00 |
|
Dillon Kearns
|
9769e7a95c
|
Pass through request from NodeJS and update the ServerRequest API.
|
2021-12-15 20:10:54 -08:00 |
|
Dillon Kearns
|
df321d429d
|
Fix typo.
|
2021-12-15 12:41:53 -08:00 |
|
Dillon Kearns
|
bff850fcc4
|
Update SEO data.
|
2021-12-15 12:35:50 -08:00 |
|
Dillon Kearns
|
dacba7358e
|
Update pokedex example.
|
2021-12-15 09:26:23 -08:00 |
|
Dillon Kearns
|
010cfb9c2a
|
Rename routes to pages. Routes are the category of page, pages are the specific things to pre-render for a given route, so this terminology is more consistent and clear.
|
2021-12-10 16:03:07 -08:00 |
|
Dillon Kearns
|
b78f8c008b
|
Rename types in ApiRoute module.
|
2021-07-30 15:35:11 -07:00 |
|
Dillon Kearns
|
58979ce3d8
|
Fix pokedex example.
|
2021-07-28 10:29:06 -07:00 |
|
Dillon Kearns
|
3a2a816bda
|
Fix pokedex example.
|
2021-06-24 11:49:00 -07:00 |
|
Dillon Kearns
|
e6c2031737
|
Rename Page builder functions.
|
2021-06-24 10:05:16 -07:00 |
|
Dillon Kearns
|
2177d2bf1d
|
Use lowerCamelCase for field names.
|
2021-06-03 11:58:35 -07:00 |
|