百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

vibe-coding-video

> 数据库
开源

Vibe Coding 全栈应用程序启动模板

193 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Vibe Coding 全栈应用程序启动模板

Vibe Coding a Full-Stack Budget App: YouTube Series Starter

This repository contains the starter code for the walkthrough video demonstrating how to "vibe code" a full-featured, full-stack web application using Wasp, React, Shadcn/ui, and AI assistance (like Cursor + Gemini 2.5 Pro).

The goal is to showcase a realistic workflow for building complex applications collaboratively with an AI, focusing on a vertical slice approach to deliver features incrementally.

We'll be building a collaborative envelope budgeting app inspired by tools like YNAB.

Tech Stack

  • Framework: Wasp - A full-stack framework using a declarative DSL to integrate React, Node.js, and Prisma. It handles boilerplate like auth, database operations, and build processes.
  • UI Components: Shadcn-admin - Admin Dashboard UI built with Shadcn and Vite.
  • AI Assistance: Cursor / Gemini 2.5 Pro (or your preferred AI coding tool)

The Workflow (As Seen in the Video)

The YouTube video demonstrates a workflow similar to this:

  1. Understanding the Goal: Defining the features of the collaborative budgeting app.
  2. AI Setup: Ensuring the AI (Cursor) has access to the project rules (./cursor/rules/).
  3. PRD (Product Requirements Document): Collaboratively defining the app's requirements with the AI.
  4. Planning: Breaking down the PRD into actionable, step-by-step implementation tasks suitable for the vertical slice approach.
  5. Implementation (Vertical Slices):
    • Pick a small, end-to-end feature slice (e.g., basic manual transaction entry).
    • Define the necessary database models (schema.prisma).
    • Define Wasp operations (queries/actions) in main.wasp.
    • Implement server logic for operations (src/server/...).
    • Build the UI components (src/client/... or src/features/...).
    • Connect UI to backend using Wasp operations.
    • Test and refine.
  6. Documentation: Asking the AI to document implemented features (e.g., in ai/docs/).
  7. Iteration: Repeating the process for subsequent features, building upon the existing foundation, and revising the PLAN on-the-go as needed.

Getting Started (Following Along)

  1. Clone the repository:
    bash
    git clone https://github.com/wasp-lang/vibe-coding-video.git
    cd vibe-coding-video
  2. Install Wasp:
    bash
    curl -sSL https://get.wasp.sh/installer.sh | sh
  3. Database Setup:
    • Start a local PostgreSQL instance (make sure to have docker installed and running)
      bash
      wasp db start
    • Run the initial database migration:
      bash
      wasp db migrate-dev
  4. Start the Development Server:
    bash
    wasp start
    This will launch the frontend (React app) and the backend server. Open your browser to http://localhost:3000.

Project Structure & Key Concepts

Codebase Structure

  • main.wasp: The heart of the Wasp application. Defines routes, pages, operations (queries/actions), auth methods, jobs, APIs, etc. See Rule 1.
  • schema.prisma: Defines the database models (entities). See Rule 3.
  • src/: Contains your custom React (client) and Node.js (server) code.
    • src/features/: Fullstack code is organized by feature (e.g., auth, transactions).
    • src/components/: Reusable UI components, including those based on Shadcn/ui. See Rule 5.
  • .cursor/rules/: Contains detailed markdown files explaining project conventions, Wasp features, and best practices used in this project. Crucial for guiding the AI.

Project Conventions

Refer to the .cursor/rules/ directory for in-depth explanations of:

  • Wasp Overview & Core Concepts (Rule 1)
  • Project Conventions (Rule 2)
  • Database, Entities & Operations (Rule 3)
  • Authentication (Rule 4)
  • Frontend & Styling (Rule 5)
  • Advanced Features & Troubleshooting (Rule 6)
  • Possible Solutions Thinking Command (Rule 7) pass this in manually with @ in the cursor chat
  • Deployment guidelines (Rule 8)

Example Prompts

Example prompts that were used in the video can be found in ai/example-prompts.md, along with the PRD (ai/example-prd.md) and plan (ai/example-plan.md) generated from them.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptfull-stackprismashadcn-adminshadcn-ui

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库