Simple, easy way to generate a serverless api
Deploy on Vercel using this button. This will guide you and setup all in your own Vercel and Github account.
You can also manually copy this code and deploy on your own. See more details on the blog post
- Install with
yarn
ornpm install
- Local dev with
yarn start
ornpm run start
- deploy with
yarn deploy
ornpm run deploy
just add a new .ts
file under /api
once you deploy this route will become available as an api endpoint automatically.