3
Configuring a Backend Environment with Bun and Hono
In this chapter, we will start with understanding what the Bun JavaScript runtime is and why it’s becoming a popular JavaScript runtime among developers. We’ll then introduce a library for developing backends called Hono, which provides a simple yet powerful way to build web applications. You’ll set up your project, including installing Bun and Hono, learn about some useful code structures, and configure essential tools such as middleware, environment files, Prettier, and ESLint.
By the end of this chapter, you’ll have a strong grasp of Bun’s environment and will be able to set up your own backend projects. All of this is going to be essential for you to be able to develop functional and ...
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.