Gatsby Functions demo
- Blog
DSG demo
- Dog of the day
SSR demo
- Hello World
- Error Page
SSR page that throws an error
- I Am Capitalized
Shows case-sensitive URLs
- Cookies
Reads browser cookies
- Cors
Uses custom middleware
- env var
Reads .env var from build
- Error caught
Doesn't crash the server on error
- JSON output
Uses json() helper
- I am TypeScript
Is a TypeScript function
- Value parser
Parses body. POST to me
- Redirect
Redirects back to this page
- Whitespace in URL
- Accented characters
- Non-latin characters
- Status
Sets status code using status() helper
- Directory index
- Directory subpage
- Directory catch-all
Change the catch-all value and see captured value
- Directory catch-all override
A named function overrides the catch-all
- Named params
Captures named path params
- IMAGE CDN
Image CDN demo
- Form parser
A form posted to the parser. Also try using Postman or Insomnia to send a JSON body.
- Form parser
A file upload