Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dancastillo/bun-fastify-example
https://github.com/dancastillo/bun-fastify-example
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dancastillo/bun-fastify-example
- Owner: dancastillo
- Created: 2024-07-28T18:39:41.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T18:45:39.000Z (5 months ago)
- Last Synced: 2024-07-28T20:00:58.220Z (5 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.