System Requirements
Node.js
Minimum Version: Node.js >= 20 The platform requires Node.js 20 or later for both local development and AWS Lambda runtime.AWS Lambdas are configured to use Node.js 20 runtime. Ensure your local Node.js version matches to avoid compatibility issues.
pnpm
Minimum Version: pnpm >= 9 This project uses pnpm as the package manager for efficient monorepo dependency management.Database
PostgreSQL
Version: PostgreSQL 15 For local development, you need a PostgreSQL 15 instance.Production Note: In production, the platform uses AWS RDS PostgreSQL 15 in a private VPC. The RDS instance is unreachable from outside the VPC and can only be accessed by Lambda functions.
AWS Services
AWS CLI
Minimum Version: AWS CLI v2 Required for infrastructure deployment, Cognito management, and remote database operations.Configure AWS Credentials
Configure your AWS credentials with appropriate permissions:- AWS Access Key ID
- AWS Secret Access Key
- Default region (e.g.,
us-east-1) - Default output format (recommended:
json)
AWS Account Requirements
The following AWS services must be available in your account and region:| Service | Purpose | Notes |
|---|---|---|
| Cognito | User authentication | User Pool with email-based auth |
| RDS PostgreSQL 15 | Primary database | Deployed in private VPC |
| Lambda | API and Worker functions | ARM64, Node.js 20 runtime |
| API Gateway | HTTP API for NestJS backend | 30s timeout |
| S3 | File storage + static hosting | Two buckets (files, web) |
| CloudFront | CDN for static frontend | SPA fallback routing |
| Bedrock | AI model access | Claude 3.5 Sonnet v2 |
| Secrets Manager | Database credentials | PostgreSQL password |
| VPC | Network isolation | Private subnets for RDS |
Bedrock Access: Ensure your AWS account has access to AWS Bedrock and that Claude 3.5 Sonnet v2 is enabled in your region. You may need to request model access through the AWS Console.
Development Tools
Optional but Recommended
Prisma Studio - Database GUI (included with Prisma CLI)Next Steps
Once all prerequisites are installed:- Set up your local development environment
- Configure environment variables
- Deploy infrastructure using AWS CDK or CloudFormation