Vibecodementor
π€ AI-driven development platform with .NET 9 + Next.js 15. Features vertical slice architecture, real-time SignalR, type-safe APIs, and one-command Docker deployment. Perfect for AI prototypes, chat apps, and real-time dashboards.
Install / Use
/learn @WilliamAvHolmberg/VibecodementorREADME
VibeCodeMentor - AI-Driven Development Platform
Fast-track AI development with .NET 9 + Next.js 15 starter optimized for vertical slice architecture and rapid prototyping.
π Live Demo: vibecodementor.net
π€ Why This Stack?
Built for AI-driven development:
- Vertical Slice Architecture - Features are self-contained (frontend + backend)
- Type-safe API - Auto-generated from OpenAPI/Swagger
- Real-time Everything - SignalR for live updates
- Instant Deploy - Docker + scripts for one-command deployment
Perfect for building AI prototypes, chat apps, and data-driven applications.
β‘ Quick Start (3 commands)
# 1. Setup environment
npm run install:all
npm run setup:local
# Edit .env.local with your database/secrets
# 2. Start development
npm run start:db # Start PostgreSQL
npm run start:api # Start .NET API (localhost:5001)
npm run start:frontend # Start Next.js (localhost:3000)
That's it! Visit http://localhost:3000
ποΈ Architecture
Tech Stack
- Backend: .NET 9 + Entity Framework + SignalR
- Frontend: Next.js 15 + React 19 + Tailwind CSS + TypeScript
- Database: PostgreSQL
- Deployment: Docker + nginx
Vertical Slice Pattern
Each feature is a complete slice (UI + API + DB):
π Frontend: features/chat/ π Backend: Features/Chat/
βββ components/ βββ Commands/
βββ hooks/ βββ Queries/
βββ types.ts βββ Models/
βββ index.ts βββ Controllers/
Benefits: Faster development, easier testing, cleaner code organization.
π Production Deployment
1. Server Setup (Interactive)
./scripts/setup-server.sh
# Prompts for: server IP, domain, Cloudflare tunnel setup
2. Deploy Application
npm run setup:prod # Creates .env file
# Edit .env with production secrets
npm run build # Build Docker images
npm run deploy # Deploy (prompts for server IP)
Done! Your app is live with SSL, nginx, and Cloudflare tunnel protection.
π¦ Key Features
- π€ AI-Ready: Real-time chat, file uploads, analytics dashboard
- π Auth System: OTP email authentication
- π Live Metrics: Server monitoring with SignalR
- βοΈ File Storage: Cloudflare R2 integration
- π‘οΈ Security: Environment validation, secret management
- π³ DevOps: One-command Docker deployment
π§ Development Commands
# Environment setup
npm run setup:local # Create .env.local
npm run setup:prod # Create .env
# Development
npm run start:db # PostgreSQL only
npm run start:api # .NET API only
npm run start:frontend # Next.js only
# Testing
cd api.Tests && dotnet test # Run API tests
# Production
npm run build # Build Docker images
npm run deploy # Deploy to server
π Project Structure
rapid-dev/
βββ π§ api/ # .NET 9 Backend
β βββ Source/Features/ # Vertical slices (Auth, Chat, Users)
βββ π¨ frontend/ # Next.js 15 Frontend
β βββ src/features/ # Vertical slices (auth, chat, dashboard)
βββ π³ infrastructure/ # Docker + nginx configs
βββ π scripts/ # Setup and deploy scripts
βββ π package.json # Development commands
π₯ What Makes This Special
- AI-Optimized: Built for chat apps, real-time data, file processing
- Vertical Slices: Each feature is self-contained and easy to modify
- Type Safety: Full-stack TypeScript with auto-generated API types
- Real-time First: SignalR for live updates across the entire app
- Deploy in Minutes: Complete Docker deployment with one command
π Next Steps
- AI Integration: Add OpenAI/Claude API for chat features
- Database: Customize PostgreSQL schemas for your use case
- UI Components: Extend the shadcn/ui component library
- Authentication: Configure email provider (Resend) for OTP
Perfect for: AI prototypes, chat applications, real-time dashboards, SaaS MVPs
Built with β€οΈ for rapid AI development! πΈπͺ
