Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dancastillo/bun-fastify-example


https://github.com/dancastillo/bun-fastify-example

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# bun-fastify-example

Clone repo

```bash
git clone https://github.com/dancastillo/bun-fastify-example
```

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run src/index.ts
```

To run (watch mode):

```bash
bun run --watch src/index.ts
```

# From scratch instructions

Initialize project using bun

```bash
bun init
```

To install dependencies:

```bash
bun install fastify
```

To install dev-dependencies:

```bash
bun install --dev typescript @types/node
```

To run (watch mode):

```bash
bun run --watch src/index.ts
```

This project was created using `bun init` in bun v1.1.21. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.