33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
---
|
|
title: Bun and Hono Are All You Need
|
|
description: A blog post wherein I talk about building this blog with Bun and Hono.
|
|
date: 2024-08-01
|
|
tags:
|
|
- development
|
|
- javascript
|
|
- bun
|
|
- hono
|
|
slug: fullstack-hono
|
|
draft: true
|
|
---
|
|
|
|
# Bun and Hono Are You Need
|
|
|
|
I wanted to write a small journey I have been on over the last couple of months. I have been looking for a reason to actually use Bun for a project and I think I found it: to rebuild my blog.
|
|
|
|
## Some Context
|
|
|
|
My old blog was built with 11ty and I deployed it manually with `rsync` behind a very simple NGiNX virtualhost. This was fine but I found I never wanted to actually write for it after a while. It didn't feel like _mine_.
|
|
|
|
## Bun
|
|
|
|
I work with a lot of JavaScript in my day-to-day job. Over the time we moved to TypeScript and all the things that come with that. Last year, I got really into the state of Bun and Deno.
|
|
|
|
## Hono
|
|
|
|
I was looking at Bun-specific Express.js alternatives and a colleague of mine pointed me to Hono. I looked through the Hono documentation and it just clicked with me. Most of these micro-frameworks do a lot of the same thing.
|
|
|
|
## JSX
|
|
|
|
## Pulling it All Together
|