Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abrazax56/bun-sample

Example Bun serverless function
https://github.com/abrazax56/bun-sample

bun express typescript

Last synced: about 4 hours ago
JSON representation

Example Bun serverless function

Awesome Lists containing this project

README

        

## Bun-sample-with-expressjs-and-typescript

```typescript
{
"name": "bun-sample",
"version": "1.0.0",
"author": {
"name": "ahmad beni rusli",
"whatsapp": "+62 882-1601-8165"
}
}
```

fork this repo

```
git clone https://github.com/abrazax56/Bun-sample.git
```

install bun

install bun with cli
```
curl -fsSL https://bun.sh/install | bash
```

install dependency

to install dependency you can use
```
bun install
```

run application

run with command
```
bun run ./api/index.ts
```