# How to create a REST API in TypeScript with serverless

**URL:** https://discourse.sst.dev/t/how-to-create-a-rest-api-in-typescript-with-serverless/2306
**Category:** Chapter Comments
**Created:** [February 4, 2021, 10:27pm UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-in-typescript-with-serverless/2306 "2021-02-04T22:27:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)
#### Post date: [February 4, 2021, 10:27pm UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-in-typescript-with-serverless/2306/1 "2021-02-04T22:27:26Z")

</div>

Link to chapter — [https://serverless-stack.com/examples/how-to-create-a-rest-api-in-typescript-with-serverless.html](https://serverless-stack.com/examples/how-to-create-a-rest-api-in-typescript-with-serverless.html)

---

<div class="post-metadata">

### Author: ![TyMac](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/tymac/32/1469_2.png) [@TyMac](https://discourse.sst.dev/u/TyMac)
#### Post date: [August 7, 2023, 1:11pm UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-in-typescript-with-serverless/2306/2 "2023-08-07T13:11:28Z")

</div>

The github example this points to no loner exists: ([https://github.com/serverless-stack/sst/tree/master/examples/rest-api-ts](https://github.com/serverless-stack/sst/tree/master/examples/rest-api-ts)

---

<div class="post-metadata">

### Author: ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)
#### Post date: [August 8, 2023, 11:41pm UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-in-typescript-with-serverless/2306/3 "2023-08-08T23:41:39Z")

</div>

Fixed [https://github.com/sst/sst/tree/master/examples/rest-api](https://github.com/sst/sst/tree/master/examples/rest-api)
