Getting started with functions
Create a function, run it locally, and deploy it.
mkdir api && echo "export default { fetch: () => new Response('hi') }" > api/hello.ts
ridgeline devOpen http://localhost:3000/api/hello.
Updated
Was this page helpful?