4
Building Backend Infrastructure with Bun, Hono, and TypeScript
Having covered the basic building blocks of Hono, Bun, and TypeScript required to build our backend API server, we are now ready to actually implement all the backend functionality required for our chat application.
In this chapter, we will work on building data models, storage, middleware, routes, authentication and authorization mechanisms, and chat and message controllers. All of these things in the context of a chat application provide us with the core knowledge required to build a real-world backend application.
Here are the main topics that we’ll explore in detail:
- Implementing in-memory storage
- Implementing authentication and authorization
- Implementing chat controllers ...
Get Full-Stack Web Development with TypeScript 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.