A server-side lightweight Web Framework similar to Express but with modern features
Hono is a modern and powerful JavaScript server framework.
I like it in particular because it’s lightweight and is very similar to how Express works, so I can reuse the mental models I already know, but it has better support for promises and async/await, and also allows us to easily use JSX, something I really like to built templates instead of EJS or Pug or Handlebars or whatever server-side template engine you might use in Express.
Let’s find out how to use it.
prerequisites
- Knowledge of JavaScript
- Knowledge of Node.js or Bun
- HTTP networking basics
Lessons in this unit:
0: | ▶︎ Introduction |
1: | Your first Hono app |
2: | The Request object |
3: | Send a response to the client |
4: | Manage cookies |
5: | Work with HTTP headers |
6: | Handling redirects |
7: | Routing |
8: | JSX templates |
9: | Middleware |
10: | Hono on Node.js |