
Explore why bun is extremely fast and shockingly complete, with built-in environment access, node compatibility, and core installation features that boost developer productivity.
Install bun and initialize an empty project with bun init -y to set up a TypeScript ES6 module project with package.json and bun-managed dependencies.
Explore bun developer tools, including npm-like dependency management, built-in env variables, fast installs, hot reload, and the bun vs code debugger for streamlined TypeScript development.
Explore bun's high performance runtime with near node api compatibility for file input and output and path operations, using async/await and fetch to access json placeholder data.
Learn Fastify core features—routing, plugin registration, decorators, and hooks—while reviewing the start and end project folders to scaffold a Bun and TypeScript server.
Develop a Bun-based Fastify server in TypeScript with typed routing, using generics for query, headers, and responses, and adopt the shorthand routing style for concise endpoints with hot reloading.
Explore how Fastify plugins enable encapsulation and scoped context, using synchronous and statically typed plugins, decorators, and shared values to build modular, reusable server features.
Learn to create a plugin and add request and reply decorators in a Fastify server, then set up typing information to extend the request and reply contexts and log actions.
learn how Fastify hooks subscribe to server events across global, root, and plugin scopes, and implement a decorator-based authentication flow using pre handlers and 401 responses.
Learn Fastify error handling basics, customize with set error handler across root or plugin scopes, and validate requests with schemas and type box for precise status codes.
Learn to build a Twitter clone API using Bun, apply Prisma with Postgres, and deploy the full system in Docker, building on Fastify lessons.
Demonstrates building a fastify server in bun and TypeScript, wiring a Prisma client into a two-repo structure for profile and message, with migrations, deployment, and tests.
Develop Fastify server routes using Bun and TypeBox, implementing repo integration with Prisma, 404/500 error handling, base64 and buffer avatars, and hot-reloading for rapid local development.
Bun is a new high performance JavaScript runtime. It's combination of speed and capability is generating enormous attention in the JavaScript ecosystem.
In this course we will explore the major features of Bun and see how, together, these features provide a fun, fast and robust developer experience. We will use Bun to create a complete Twitter clone API using Bun, TypeScript, Fastify, PrismaORM, and Postgres. And deploy the service onto a Docker image.
The JavaScript ecosystem has been stagnant for a while now. Dependency hell. Slow project compilation. Seemingly random build errors. The need to spend huge amounts of time configuring and trouble shooting project issues. JavaScript fatigue has become a very real issue.
In this course we'll see that Bun is far more than just a fast runtime. Bun includes build tools that streamline the task of transpiling and bundling our apps. NPM package installations are lightening fast. Bun has an enormously powerful CLI, which is included out of the box. Creating and setting up new projects takes almost no effort at all. And on top of all this, Bun's capabilities also include NodeJS compatibility. So you can keep using most of your favorite frameworks and libraries and just focus on building your app. Bun is truly next level tech!