bun-getting-started

Bootstrap Bun 1.3 full-stack projects with HMR and Bun.SQL database setup.

3|1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/marcus/marcus-skills --skill bun-getting-started
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-getting-started
Source: https://github.com/marcus/marcus-skills/tree/main/skills/bun-getting-started
Command: npx skills add https://github.com/marcus/marcus-skills --skill bun-getting-started

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Getting started with Bun 1.3 full-stack development can be time-consuming without a clear setup. This guide provides a ready-to-follow path for installation, project scaffolding, HMR, and Bun.SQL integration to accelerate learning and prototyping.

Core Features & Use Cases

  • Bun 1.3 bootstrapping: Quick start for new projects with a solid baseline.
  • Hot Module Replacement (HMR): Immediate feedback during development.
  • Database setup with Bun.SQL: Demonstrates PostgreSQL, MySQL, and SQLite usage and examples.
  • Use Case: Ideal for builders who want an end-to-end Bun-based project skeleton to experiment with APIs, frontend, and data access.

Quick Start

Run bun init to create a new Bun project and begin development with hot module replacement.

Frequently Asked Questions about bun-getting-started

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a full-stack Bun project with HMR and database setup?

To scaffold a full-stack Bun project, run bun init to establish a baseline structure, then configure hot module replacement for immediate feedback and integrate Bun.SQL for database access. This provides a ready-to-run environment with sample app scaffolding.

Does Bun 1.3 support PostgreSQL, MySQL, and SQLite out of the box?

Yes, Bun 1.3 supports PostgreSQL, MySQL, and SQLite natively via Bun.SQL. The setup process demonstrates usage and examples for all three databases, allowing you to quickly configure data access without external ORM dependencies.

What is the best way to bootstrap a Bun 1.3 project for rapid prototyping?

The best way to bootstrap a Bun 1.3 project for prototyping is using a guided setup path that includes installation, project scaffolding, HMR, and Bun.SQL integration. This approach accelerates learning by providing a ready-to-run end-to-end project skeleton.

Can I use Bun for both frontend and API development in a single project?

Yes, you can use Bun for both frontend and API development within a single project. The scaffolding provides an end-to-end skeleton designed for builders to experiment with APIs, frontend code, and data access concurrently.

How do I configure production build workflows in a Bun full-stack application?

Configuring production build workflows in a Bun full-stack application involves following the provided guidance for project structure and build processes. The setup ensures your ready-to-run development environment transitions smoothly into production-ready outputs.