All Templates / Starters

Bun + Hono

Bun + Hono

A Bun + Hono Starter with Health Check, Route Grouping, Cors and more!

Deploy Bun + Hono

Hono

kadumedim/bun-hono

Just deployed

Bun + Hono Starter Template

This is a barebones starter template for a Bun project using the Hono web framework. It provides a simple foundation to build a web application with binary compilation, route grouping, CORS setup, and health check endpoints. This template is ready to be deployed on Railway.

Features

  • Bun.js: Ultra-fast JavaScript runtime with built-in bundler and test runner.
  • Hono.js: A fast and minimal web framework.
  • Binary Compilation: Compiles to a single executable for production.
  • CORS Middleware: Enabled for all routes by default.
  • Logger Middleware: Built-in request logging.
  • Route Grouping: Cleanly organize routes in separate modules.
  • Health Check: A simple endpoint to monitor the uptime of the service.

We utilize a multi-stage Dockerfile to compile the application into a binary for optimal production performance. The development environment supports hot reloading for a better developer experience.


Template Content

Deploy Now

Details

Carlos Medim's Projects

Created on Oct 26, 2024

33 total projects

14 active projects

90% success on recent deploys

TypeScript, Dockerfile

Starters



More templates in this category

View Template
mellow-vue

mellow-vue

A full-stack Vue app with The Boring JavaScript Stack.


My Workspace

View Template
.NET8 Web API

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)


Dango

View Template
Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Odogwu Machalla's Projects