Integrate Mindbody app into Next.js migration#4
Merged
vespo92 merged 1 commit intoNov 22, 2025
Merged
Conversation
Transform the MCP server into a complete Next.js 14+ application with: - Prisma schema with 30+ models and proper foreign key relationships - Unified MindbodyService class with 50+ strongly-typed methods - tRPC routers for type-safe API access (site, staff, client, class, appointment, enrollment, sales) - React Query hooks for all data fetching operations - Data sync layer between Mindbody API and local PostgreSQL database - Example pages: Dashboard, Clients, Classes, Staff with full CRUD operations - Complete TypeScript type definitions for all Mindbody entities Architecture: - /prisma/schema.prisma - Database models with relationships - /src/lib/mindbody/ - Core service layer (client, service, types) - /src/lib/sync/ - Background sync service - /src/server/routers/ - tRPC routers by domain - /src/hooks/useMindbody.ts - React hooks - /src/app/ - Next.js App Router pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transform the MCP server into a complete Next.js 14+ application with:
Architecture:
Pull Request
Description
Brief description of what this PR does.
Type of Change
Changes Made
Testing
bun run test:toolChecklist
Screenshots (if applicable)
Add screenshots to help explain your changes.
Additional Notes
Add any additional notes or context here.