A modern Next.js application integrated with Ministry Platform authentication and REST API, built with TypeScript, Next.js 16, React 19, and Better Auth.
- Features
- Architecture
- Prerequisites
- Getting Started
- Project Structure
- Ministry Platform Integration
- Components
- Services
- Testing
- Development
- Claude Code Commands
- Documentation
- Code Style & Conventions
- Authentication: Better Auth with Ministry Platform OAuth (via genericOAuth plugin) and OIDC RP-initiated logout
- Modern UI: Radix UI primitives + shadcn/ui components with Tailwind CSS v4
- Type-Safe API: Full TypeScript support with auto-generated types from Ministry Platform schema
- Next.js 16: App Router with React Server Components and Turbopack
- REST API Client: Comprehensive Ministry Platform REST API integration
- Type Generation: CLI tool to generate TypeScript interfaces and Zod schemas from MP database
- Schema Documentation: Auto-generated markdown documentation with type file links
- Validation: Optional Zod v4 schema validation in MPHelper for runtime data validation before API calls
- Testing: Vitest test framework with comprehensive coverage for auth, proxy, and API services
- Tools Framework: Reusable tool components for building Ministry Platform page tools
- Next.js 16 with App Router and Turbopack (default bundler for dev and build)
- React 19 with Server Components by default
- TypeScript in strict mode
- Tailwind CSS v4 for styling
- Vitest 4.0 for testing
Custom provider located at src/lib/providers/ministry-platform/ featuring:
- REST API client with OAuth2 authentication
- Service-oriented architecture for domain-specific logic
- Type-safe models and Zod validation schemas (603 generated files)
- Automatic token management with refresh
- Six specialized services: Table, Procedure, Communication, File, Metadata, Domain
Better Auth with Ministry Platform OAuth via genericOAuth plugin (src/lib/auth.ts)
- Stateless JWT cookie sessions (no database required)
- Custom session enrichment with
MPUserProfiledata viacustomSessionplugin - OIDC RP-initiated logout for proper session termination
- Proxy-based route protection (
src/proxy.ts— Next.js 16 replaces middleware with proxy) - Client-side auth via
authClient(src/lib/auth-client.ts)
- Node.js: v18 or higher
- Package Manager: npm (comes with Node.js)
- Ministry Platform: Active instance with API credentials and OAuth client configured (see OAuth Setup)
If you have Claude Code installed, the setup process is automated:
git clone https://github.com/MinistryPlatform-Community/MPNext.git
cd MPNext
npm install
npm run setupThe interactive setup command will:
- Verify Node.js version (v18+ required)
- Check git status
- Create
.env.localfrom.env.example(if needed) - Prompt for missing environment variables
- Auto-generate
BETTER_AUTH_SECRET(optional) - Install and update dependencies
- Generate Ministry Platform types
- Run a production build to verify configuration
Additional setup options:
npm run setup:check # Validation only (no changes)
npm run setup -- --clean # Clean install (delete node_modules first)
npm run setup -- --skip-install # Skip npm install/update
npm run setup -- --verbose # Extra output
npm run setup -- --help # Show all optionsOnce setup completes, run npm run dev and visit http://localhost:3000.
If you prefer manual setup or don't have Claude Code:
git clone https://github.com/MinistryPlatform-Community/MPNext.git
cd MPNextnpm installCopy the example environment file and configure it with your Ministry Platform credentials:
cp .env.example .env.localUpdate .env.local with your configuration:
# Better Auth Configuration
OIDC_CLIENT_ID=MPNext
OIDC_CLIENT_SECRET=your_client_secret
# Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=your_generated_secret
# Update for production
BETTER_AUTH_URL=http://localhost:3000
# MinistryPlatform API Configuration
MINISTRY_PLATFORM_CLIENT_ID=MPNext
MINISTRY_PLATFORM_CLIENT_SECRET=your_client_secret
MINISTRY_PLATFORM_BASE_URL=https://your-instance.ministryplatform.com/ministryplatformapi
# Public Keys
NEXT_PUBLIC_MINISTRY_PLATFORM_FILE_URL=https://your-instance.ministryplatform.com/ministryplatformapi/files
NEXT_PUBLIC_APP_NAME=AppBefore running the application, you must configure an OAuth 2.0 / OpenID Connect (OIDC) client in Ministry Platform.
Log in to your Ministry Platform instance as an administrator and navigate to Administration > API Clients.
Create a new API Client with the following configuration:
- Client ID:
MPNext(or your custom client ID) - Client Secret: Generate a secure secret (save this securely - you'll need it for
.env.local) - Display Name:
MPNext(or your preferred name) - Client User: Create a scoped user or use API User
- Authentication Flow: use the default: Authorization Code, Implicit, Hybrid, Client Credentials, or Resource Owner
Add these authorized redirect URIs where users will be sent after authentication - separate each entry by ending with a semi-colon(;):
Development:
http://localhost:3000/api/auth/oauth2/callback/ministry-platform
Production:
https://yourdomain.com/api/auth/oauth2/callback/ministry-platform
Important: The redirect URI must match exactly (including protocol, domain, port, and path). Ministry Platform will reject any OAuth requests with mismatched redirect URIs. The callback path uses Better Auth's genericOAuth plugin convention:
/api/auth/oauth2/callback/{providerId}.
Add these URIs where users will be redirected after signing out:
Development:
http://localhost:3000
Production:
https://yourdomain.com
Important: Post-logout redirect URIs are required for proper logout functionality. The application implements OIDC RP-initiated logout to properly end Ministry Platform OAuth sessions. Without these configured, users will be auto-logged back in after clicking "Sign out" (SSO behavior).
Generate a secure secret for Better Auth session signing (must be at least 32 characters):
openssl rand -base64 32Copy the generated secret to your .env.local file as BETTER_AUTH_SECRET.
Before running the application, generate TypeScript types from your Ministry Platform database schema:
npm run mp:generate:modelsThis will:
- Connect to your Ministry Platform API
- Fetch all table metadata (301+ tables)
- Generate TypeScript interfaces for each table
- Generate Zod validation schemas for runtime validation
- Generate schema documentation with type file links
- Clean up any previously generated files
- Output to
src/lib/providers/ministry-platform/models/
Expected output:
Generating TypeScript types from Ministry Platform schema...
Fetching table metadata from Ministry Platform...
Found 301 tables
Cleaning output directory: src/lib/providers/ministry-platform/models
Removed 605 existing type files
Generating type definitions...
Contacts.ts (Contacts) [51 columns]
Events.ts (Events) [57 columns]
...
Successfully generated 301 table types + 301 Zod schemas (602 total files)
Advanced options:
# Generate types for specific tables only
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts -s "Contact"
# Generate without Zod schemas
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts -o ./types
# Generate with detailed mode (samples records for better type inference)
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts -d --sample-size 10
# See all options
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts --helpNote: Field names containing special characters (like
Allow_Check-in) are automatically quoted in the generated types for valid TypeScript syntax.
Start the development server and test the authentication flow:
npm run dev- Navigate to http://localhost:3000
- Click "Sign In"
- You should be redirected to Ministry Platform login
- After successful login, you'll be redirected back to the application
- Your session should be active
Troubleshooting:
- "Redirect URI mismatch": Verify redirect URI in MP matches exactly
- "Invalid client": Check client ID and secret are correct
- "Unauthorized scope": Ensure all required scopes are enabled
- Auto-login after logout: Verify post-logout redirect URIs are configured in Ministry Platform OAuth client. The application requires these for proper OIDC logout (see OAUTH_LOGOUT_SETUP.md)
When deploying to production:
- Update
BETTER_AUTH_URLto your production domain - Add production redirect URI (
https://yourdomain.com/api/auth/oauth2/callback/ministry-platform) to Ministry Platform OAuth client - Add production post-logout redirect URIs
- Ensure environment variables are set in your hosting provider
- Enable HTTPS/SSL certificates
- Test the complete authentication flow in production environment
MPNext/
├── src/
│ ├── app/ # Next.js App Router pages
│ │ ├── (web)/ # Protected route group
│ │ │ ├── contactlookup/ # Contact lookup demo
│ │ │ │ └── [guid]/ # Dynamic contact detail page
│ │ │ ├── home/ # Home redirect
│ │ │ ├── tools/ # Tools framework
│ │ │ │ └── template/ # Template tool example
│ │ │ ├── layout.tsx # Web layout with auth
│ │ │ └── page.tsx # Dashboard/home page
│ │ ├── api/auth/[...all]/ # Better Auth API routes
│ │ ├── signin/ # Sign-in page
│ │ ├── layout.tsx # Root layout
│ │ └── providers.tsx # App providers wrapper
│ │
│ ├── components/ # React components
│ │ ├── contact-logs/ # Contact logs feature (CRUD)
│ │ │ ├── contact-logs.tsx
│ │ │ ├── actions.ts
│ │ │ └── index.ts
│ │ ├── contact-lookup/ # Contact lookup feature
│ │ │ ├── contact-lookup.tsx
│ │ │ ├── contact-lookup-search.tsx
│ │ │ ├── contact-lookup-results.tsx
│ │ │ ├── actions.ts
│ │ │ └── index.ts
│ │ ├── contact-lookup-details/ # Contact details feature
│ │ │ ├── contact-lookup-details.tsx
│ │ │ ├── actions.ts
│ │ │ └── index.ts
│ │ ├── layout/ # Layout components
│ │ │ ├── auth-wrapper.tsx
│ │ │ ├── dynamic-breadcrumb.tsx
│ │ │ ├── header.tsx
│ │ │ ├── sidebar.tsx
│ │ │ └── index.ts
│ │ ├── tool/ # Tool framework components
│ │ │ ├── tool-container.tsx
│ │ │ ├── tool-header.tsx
│ │ │ ├── tool-footer.tsx
│ │ │ ├── tool-params-debug.tsx
│ │ │ └── index.ts
│ │ ├── user-menu/ # User menu feature
│ │ │ ├── user-menu.tsx
│ │ │ ├── actions.ts
│ │ │ └── index.ts
│ │ ├── user-tools-debug/ # Development debug helper
│ │ │ ├── user-tools-debug.tsx
│ │ │ ├── actions.ts
│ │ │ └── index.ts
│ │ ├── shared-actions/ # Cross-feature server actions
│ │ │ └── user.ts
│ │ └── ui/ # shadcn/ui components (19 components)
│ │
│ ├── contexts/ # React Context providers
│ │ ├── session-context.tsx
│ │ ├── user-context.tsx
│ │ └── index.ts
│ │
│ ├── lib/ # Shared libraries
│ │ ├── auth.ts # Better Auth server configuration
│ │ ├── auth-client.ts # Better Auth client (React hooks)
│ │ ├── dto/ # Application DTOs/ViewModels
│ │ │ ├── contacts.ts
│ │ │ ├── contact-logs.ts
│ │ │ └── index.ts
│ │ ├── tool-params.ts # Tool parameter utilities
│ │ ├── utils.ts # General utilities
│ │ └── providers/
│ │ └── ministry-platform/ # Ministry Platform provider
│ │ ├── auth/ # OAuth authentication
│ │ │ ├── client-credentials.ts
│ │ │ └── types.ts
│ │ ├── services/ # API services
│ │ │ ├── table.service.ts
│ │ │ ├── procedure.service.ts
│ │ │ ├── communication.service.ts
│ │ │ ├── file.service.ts
│ │ │ ├── metadata.service.ts
│ │ │ └── domain.service.ts
│ │ ├── models/ # Generated types (603 files)
│ │ ├── types/ # Type definitions
│ │ ├── utils/ # HTTP client utilities
│ │ ├── scripts/ # Type generation CLI
│ │ ├── docs/ # Provider documentation
│ │ ├── client.ts # Core MP client
│ │ ├── provider.ts # Singleton provider
│ │ ├── helper.ts # Public API (MPHelper)
│ │ └── index.ts # Barrel export
│ │
│ ├── services/ # Application services
│ │ ├── contactService.ts
│ │ ├── contactLogService.ts
│ │ ├── userService.ts
│ │ └── toolService.ts
│ │
│ ├── auth.test.ts # Auth tests
│ ├── proxy.ts # Next.js 16 proxy (route protection)
│ ├── proxy.test.ts # Proxy tests
│ └── test-setup.ts # Vitest setup
│
├── .claude/ # Claude AI configuration
│ ├── commands/ # Claude Code skills
│ └── references/ # Documentation references
├── docs/ # Documentation
│ └── OAUTH_LOGOUT_SETUP.md
├── public/ # Static assets
├── coverage/ # Test coverage reports
├── .env.example # Environment template
├── CLAUDE.md # Development guide
├── vitest.config.ts # Vitest configuration
├── components.json # shadcn/ui configuration
├── next.config.ts # Next.js configuration
├── tailwind.config.js # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Dependencies and scripts
The main entry point for interacting with Ministry Platform:
import { MPHelper } from '@/lib/providers/ministry-platform';
import { ContactLogSchema } from '@/lib/providers/ministry-platform/models';
const mp = new MPHelper();
// Get contacts with query parameters
const contacts = await mp.getTableRecords({
table: 'Contacts',
filter: 'Contact_Status_ID=1',
select: 'Contact_ID,Display_Name,Email_Address',
orderBy: 'Last_Name',
top: 50
});
// Create records (without validation - backward compatible)
await mp.createTableRecords('Contact_Log', [{
Contact_ID: 12345,
Contact_Date: new Date().toISOString(),
Made_By: 1,
Notes: 'Follow-up call completed'
}]);
// Create records with Zod validation (recommended)
await mp.createTableRecords('Contact_Log', [{
Contact_ID: 12345,
Contact_Date: new Date().toISOString(),
Made_By: 1,
Notes: 'Follow-up call completed'
}], {
schema: ContactLogSchema, // Validates data before API call
$userId: 1
});
// Update with partial validation (default)
await mp.updateTableRecords('Contact_Log', records, {
schema: ContactLogSchema,
partial: true // Allow partial updates
});
// Execute stored procedures
const results = await mp.executeProcedureWithBody('api_Custom_Procedure', {
'@ContactID': 12345
});
// File operations
const files = await mp.getFilesByRecord({
tableName: 'Contacts',
recordId: 12345
});| Service | Purpose | Key Methods |
|---|---|---|
| Table Service | CRUD operations | getTableRecords, createTableRecords, updateTableRecords, deleteTableRecords |
| Procedure Service | Stored procedures | getProcedures, executeProcedure, executeProcedureWithBody |
| Communication Service | Email/SMS | createCommunication, sendMessage |
| File Service | File management | getFilesByRecord, uploadFiles, updateFile, deleteFile |
| Metadata Service | Schema info | getTables, refreshMetadata |
| Domain Service | Domain config | getDomainInfo, getGlobalFilters |
Generate TypeScript interfaces and Zod schemas from your Ministry Platform database schema:
# Generate types for all tables with Zod schemas (recommended)
npm run mp:generate:models
# Generate types for specific tables
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts --search "Contact"
# Generate without cleaning old files
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts -o ./types --zod
# See all options
npx tsx src/lib/providers/ministry-platform/scripts/generate-types.ts --helpCLI Options:
-o, --output <dir>- Output directory (default: ./generated-types)-s, --search <term>- Filter tables by search term-z, --zod- Generate Zod schemas for runtime validation-c, --clean- Remove existing files before generating (recommended)-d, --detailed- Sample records for better type inference (slower)--sample-size <num>- Number of records to sample in detailed mode
Generated Output:
- 301 TypeScript interfaces (one per table)
- 301 Zod validation schemas
- Schema documentation with type file links (
.claude/references/ministryplatform.schema.md)
See Ministry Platform Type Generator documentation for details.
Built with Radix UI primitives and styled with Tailwind CSS. Located in src/components/ui/:
- Alert, Alert Dialog, Avatar, Breadcrumb, Button, Card
- Checkbox, Dialog, Drawer, Dropdown Menu, Form, Input
- Label, Radio Group, Select, Skeleton, Switch, Textarea, Tooltip
- AuthWrapper: Server component for route protection with session validation
- Header: Application header with sidebar toggle and user menu
- Sidebar: Navigation sidebar with route links
- DynamicBreadcrumb: Auto-generated breadcrumbs from URL path
- contact-lookup: Contact search with fuzzy matching
- contact-lookup-details: Detailed contact view with logs
- contact-logs: Full CRUD for contact interaction history
- user-menu: User profile dropdown with sign-out
- ToolContainer: Main wrapper for tool pages
- ToolHeader: Tool title bar with optional info tooltip
- ToolFooter: Save/Close action buttons
- ToolParamsDebug: Development helper for debugging URL parameters
All components follow kebab-case naming and use named exports for consistency.
Application services provide business logic abstraction over the Ministry Platform API:
| Service | File | Purpose |
|---|---|---|
| ContactService | contactService.ts |
Contact search and updates |
| ContactLogService | contactLogService.ts |
Contact log CRUD with validation |
| UserService | userService.ts |
User profile retrieval |
| ToolService | toolService.ts |
Tool page data and user permissions |
All services follow the singleton pattern and use MPHelper for API communication.
The project includes a template tool (src/app/(web)/tools/template/) that demonstrates best practices for building Ministry Platform tools that can be launched from within MP pages.
Key features:
- URL parameter parsing for MP page context (
pageID, record selection, etc.) - Dual-mode support (create new vs. edit existing records)
- Standard tool UI with save/close actions
- Development helpers for debugging tool params and user context
- Integration with
ToolContainercomponent for consistent UX
Structure:
src/app/(web)/tools/template/
├── page.tsx # Server component that parses URL params
└── template-tool.tsx # Client component with tool UI
Usage as a starting point:
- Copy the
templatefolder to create your new tool - Rename files and components appropriately
- Implement your tool logic inside the
ToolContainer - Remove
ToolParamsDebugandUserToolsDebugbefore production
URL Parameters:
Tools receive standard MP parameters like pageID, s (selection), and recordDescription. Use parseToolParams() to handle them consistently.
See the template tool for implementation details.
The project uses Vitest 4.0 with comprehensive test coverage for critical functionality.
- Framework: Vitest with jsdom environment
- Libraries: @testing-library/react, @testing-library/jest-dom
- Coverage: v8 provider with HTML reports
# Run tests in watch mode
npm test
# Single test run
npm run test:run
# Generate coverage report
npm run test:coverage| Area | Files | Coverage |
|---|---|---|
| Authentication | auth.test.ts |
Custom session enrichment, profile fetching, OAuth config |
| Proxy | proxy.test.ts |
Route protection, session cookie validation |
| MP Client | client.test.ts |
OAuth token management |
| MPHelper | helper.test.ts |
All CRUD operations, validation |
| Table Service | table.service.test.ts |
Table operations |
| HTTP Client | http-client.test.ts |
HTTP methods, URL building |
Total: ~190+ test cases across 6 test files
Tests are configured in vitest.config.ts:
- Environment variables stubbed in
src/test-setup.ts - Auto-generated models excluded from coverage
- Supports TypeScript path aliases
# Start development server
npm run dev
# Build for production (Turbopack, includes type checking)
npm run build
# Start production server
npm start
# Run ESLint (native flat config — `next lint` was removed in Next.js 16)
npm run lint
# Run tests
npm test # Watch mode
npm run test:run # Single run
npm run test:coverage # With coverage report
# Generate MP types (basic, to custom location)
npm run mp:generate
# Generate MP types to models directory with Zod schemas (recommended)
npm run mp:generate:modelsnpm run build
npm startNote: The build process includes TypeScript type checking. Ensure all generated types are up to date by running
npm run mp:generate:modelsbefore building.
This project includes custom Claude Code commands (skills) to streamline development workflows. These commands are invoked using the /command syntax in Claude Code.
| Command | Description |
|---|---|
/audit-deps |
Security and update audit for dependencies |
/branch-commit [args] |
Create branch and commit changes, optionally linked to GitHub issue |
/pr [args] |
Create a pull request with validation |
Performs a comprehensive security and update analysis of project dependencies.
What it does:
- Runs
npm auditfor vulnerability detection - Searches for recent CVEs affecting major dependencies
- Categorizes updates as safe (patch/minor) or major (breaking changes)
- Generates a prioritized action plan
Usage:
/audit-deps
Creates a new branch from the current branch, stages all changes, and commits with detailed notes. Can auto-generate branch name and commit message from a GitHub issue.
Usage:
/branch-commit # Prompts for branch name and commit message
/branch-commit #123 # Auto-generates from GitHub issue #123
/branch-commit feature/my-change: Add new feature # Manual branch and commit message
/branch-commit #123 fix/custom-name: Custom message # Issue reference with custom names
Branch naming convention:
fix/issue-<id>-<slug>- For bug fixes (issues with "bug" label)feature/issue-<id>-<slug>- For features/enhancements
Creates a pull request after validating all prerequisites are met.
Validations performed:
- Not on main/master/dev branch
- No uncommitted changes
- Branch pushed to origin
- No existing open PR for branch
Usage:
/pr # Create PR to main branch
/pr --base dev # Create PR to dev branch
/pr --draft # Create as draft PR
/pr #123 # Link to specific GitHub issue
PR format includes:
- Summary section with bullet points
- Test plan checklist
- Issue links (auto-detected from commits)
- Claude Code attribution
Command definitions are stored in .claude/commands/:
.claude/commands/
├── audit-deps.md # Dependency audit command
├── branch-commit.md # Branch and commit command
└── pr.md # Pull request command
- CLAUDE.md - Development guide with commands, architecture, and code style conventions
- OAUTH_LOGOUT_SETUP.md - OAuth logout configuration and OIDC RP-initiated logout details
- Ministry Platform Provider - Complete provider documentation
- Type Generator - CLI tool documentation
- Components Reference - Detailed component inventory
- MP Schema Reference - Auto-generated database schema
Use the @/* path alias for all internal imports:
import { MPHelper } from '@/lib/providers/ministry-platform';
import { Button } from '@/components/ui/button';
import { ContactSearch } from '@/lib/dto';
import { Header, Sidebar } from '@/components/layout';
import { ToolContainer } from '@/components/tool';- React Server Components by default
- Add
"use client"only when needed for interactivity - Keep UI components in
src/components/ui/ - Follow shadcn/ui conventions
- Use named exports (no default exports)
- Organize feature components in folders with barrel exports
- PascalCase: Component names, types, interfaces
- camelCase: Functions, variables
- kebab-case: All component files and folders
- snake_case: Ministry Platform API fields
src/components/
├── shared-actions/ # Cross-feature server actions
├── ui/ # shadcn/ui components
├── layout/ # Layout components (header, sidebar, etc.)
├── tool/ # Tool framework components
├── feature-name/ # Feature folder (kebab-case)
│ ├── feature-name.tsx # Main component
│ ├── actions.ts # Feature-specific server actions
│ └── index.ts # Barrel exports
└── shared-component.tsx # Shared standalone components
// Import feature components via barrel exports
import { ContactLookup } from '@/components/contact-lookup';
import { UserMenu } from '@/components/user-menu';
// Import layout components
import { Header, Sidebar, AuthWrapper } from '@/components/layout';
// Import tool components
import { ToolContainer, ToolParamsDebug } from '@/components/tool';
// Import application DTOs
import { ContactSearch, ContactLookupDetails } from '@/lib/dto';
// Import Ministry Platform models (generated)
import { ContactLog, Congregation } from '@/lib/providers/ministry-platform/models';
// Import Ministry Platform Zod schemas
import { ContactLogSchema } from '@/lib/providers/ministry-platform/models';
// Import Ministry Platform helper
import { MPHelper } from '@/lib/providers/ministry-platform';
// Import shared actions
import { getCurrentUserProfile } from '@/components/shared-actions/user';- Strict mode enabled
- Export interfaces from models
- Use Zod schemas for validation
- Leverage TypeScript generics for type safety
- Regenerate types after Ministry Platform schema changes:
npm run mp:generate:models - Always use TypeScript generics for type-safe API calls
- Handle errors with try-catch blocks
- Use Zod schemas for runtime validation - Pass the optional
schemaparameter tocreateTableRecords()andupdateTableRecords()to validate data before API calls:import { ContactLogSchema } from '@/lib/providers/ministry-platform/models'; await mp.createTableRecords('Contact_Log', records, { schema: ContactLogSchema, // Catch validation errors before API call $userId: 1 });
- Keep Ministry Platform structure organized:
- Generated database models:
src/lib/providers/ministry-platform/models/(auto-generated, don't edit manually) - Application-level DTOs/ViewModels:
src/lib/dto/(hand-written) - Export all from respective
index.tsfiles
- Generated database models:
- Access fields with special characters using bracket notation:
event["Allow_Check-in"] - Run tests before committing:
npm run test:run
This project follows strict TypeScript conventions and code style. Please review CLAUDE.md before contributing.
Private
For Ministry Platform API documentation, refer to your instance's API documentation portal.