Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/batuhankorur/bun-boilerplate

Starter template for building web apps/services via bun.js!
https://github.com/batuhankorur/bun-boilerplate

boilerplate bun eslint typescript

Last synced: 7 days ago
JSON representation

Starter template for building web apps/services via bun.js!

Awesome Lists containing this project

README

        

# 🥟 Bun Boilerplate

This is a starter template for building web applications and services using Bun.js.

## 🚀 Getting Started

1. **Clone the repository:**
```bash
git clone https://github.com/BatuhanKorur/bun-boilerplate
cd bun-boilerplate
```

2. **Install dependencies:**
```bash
bun install
```

3. **Start the development server:**
```bash
bun dev
```

## 📂 Features

- **Configured ESLint:** Includes recommended stylistic rules.
- **Alias setup:** `src` directory is accessible via `@`.
- **Centralized Config:** Store key configuration values in `@/core/config`.
- **Health Check:** A built-in `/ping` route to verify server status.
- **Error Handling:** Pre-configured error handler middleware.

## 🤝 Contributions

Contributions are welcome! Feel free to [open an issue](https://github.com/BatuhanKorur/bun-boilerplate/issues) or submit a pull request.

## 📄 License

This project is licensed under the [MIT License](LICENSE.md).

---

Happy coding! 🎉