Tutorial: Feature Development Workflow

Build a complete feature using Bootspring's feature development workflow with orchestrated agent collaboration.

What You'll Build

  • User notifications system with:
    • Database schema design
    • API endpoints
    • Real-time updates
    • Email notifications
    • UI components

Prerequisites

  • Bootspring initialized project
  • PostgreSQL database configured
  • Basic understanding of agents and workflows

Step 1: Start the Feature Workflow

Initialize the feature workflow with your requirements:

Loading code block...

When prompted, describe your feature:

Build a user notification system that: - Stores notifications in the database - Supports different notification types (info, warning, success, error) - Marks notifications as read/unread - Sends email for important notifications - Shows real-time updates in the UI

Step 2: Requirements Phase

The workflow first engages the product-expert to clarify requirements.

Agent Conversation

Loading code block...

Expected Output:

Loading code block...

Step 3: Architecture Phase

The architecture-expert designs the system.

Loading code block...

Expected Output:

Loading code block...

Step 4: Database Design Phase

The database-expert creates the schema.

Loading code block...

Generated Schema

Loading code block...

Apply the schema:

Loading code block...

Step 5: API Development Phase

The api-expert creates the endpoints.

Loading code block...

Notification Service

Loading code block...

API Routes

Loading code block...
Loading code block...

Step 6: Real-time Updates Phase

The backend-expert implements Server-Sent Events.

Loading code block...

SSE Endpoint

Loading code block...

Update Notification Service

Loading code block...

Step 7: Frontend Development Phase

The frontend-expert creates the UI components.

Loading code block...

Notification Hook

Loading code block...

Notification Bell Component

Loading code block...

Step 8: Testing Phase

The testing-expert creates tests.

Loading code block...

Service Tests

Loading code block...

Step 9: Quality Gates

Run quality checks before deployment:

Loading code block...

Step 10: Complete the Workflow

Mark the workflow as complete:

Loading code block...

Verification Checklist

  • Database schema created and migrated
  • API endpoints working correctly
  • Real-time updates functioning
  • Email notifications sending
  • UI components rendering correctly
  • Tests passing
  • Quality gates passed

What You Learned

  • Using the feature development workflow
  • Coordinating multiple expert agents
  • Building full-stack features with Bootspring
  • Real-time updates with SSE
  • Testing multi-layer applications

Next Steps