Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model
Phase 0 of proposal-system: complete project setup including:
- CDK infrastructure (3 stacks: foundation, compute, frontend)
- .NET 8 solution with Clean Architecture (Domain, Application, Infrastructure, Api)
- EF Core data model (PostgreSQL) with all entities
- Python Lambda placeholders (pdf-extract, pdf-generate, library-ingest)
- React 19 web frontend scaffold (Vite + MUI)
- React Native mobile placeholder
- Shared TypeScript API contracts
- GitHub Actions CI/CD (ci.yaml + deploy.yaml)
- OIDC deploy role (githubdeploy-proposal-system)
- Dependabot configuration
- Cognito User Pool with Google OAuth, PKCE clients, groups
2026-05-16 18:40:46 -04:00
|
|
|
import * as cdk from 'aws-cdk-lib';
|
|
|
|
|
import { FoundationStack } from '../lib/foundation-stack';
|
|
|
|
|
import { ComputeStack } from '../lib/compute-stack';
|
|
|
|
|
import { FrontendStack } from '../lib/frontend-stack';
|
|
|
|
|
|
|
|
|
|
const app = new cdk.App();
|
|
|
|
|
|
|
|
|
|
const env: cdk.Environment = {
|
|
|
|
|
account: '328440206208',
|
|
|
|
|
region: 'us-east-1',
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const foundation = new FoundationStack(app, 'proposal-system-foundation', {
|
|
|
|
|
stackName: 'proposal-system-foundation',
|
|
|
|
|
env,
|
|
|
|
|
description: 'Proposal System - VPC, RDS, S3, SQS, Cognito',
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const compute = new ComputeStack(app, 'proposal-system-compute', {
|
|
|
|
|
stackName: 'proposal-system-compute',
|
|
|
|
|
env,
|
|
|
|
|
description: 'Proposal System - API Lambda, Python Lambdas, Bedrock KB',
|
|
|
|
|
vpc: foundation.vpc,
|
|
|
|
|
lambdaSecurityGroup: foundation.lambdaSecurityGroup,
|
|
|
|
|
dbSecret: foundation.dbSecret,
|
|
|
|
|
uploadsBucket: foundation.uploadsBucket,
|
|
|
|
|
generatedBucket: foundation.generatedBucket,
|
|
|
|
|
libraryBucket: foundation.libraryBucket,
|
|
|
|
|
jobsQueue: foundation.jobsQueue,
|
|
|
|
|
userPool: foundation.userPool,
|
2026-05-20 19:07:49 -04:00
|
|
|
alarmTopic: foundation.alarmTopic,
|
2026-05-20 18:51:31 -04:00
|
|
|
webClientId: foundation.webClientId,
|
|
|
|
|
mobileClientId: foundation.mobileClientId,
|
Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model
Phase 0 of proposal-system: complete project setup including:
- CDK infrastructure (3 stacks: foundation, compute, frontend)
- .NET 8 solution with Clean Architecture (Domain, Application, Infrastructure, Api)
- EF Core data model (PostgreSQL) with all entities
- Python Lambda placeholders (pdf-extract, pdf-generate, library-ingest)
- React 19 web frontend scaffold (Vite + MUI)
- React Native mobile placeholder
- Shared TypeScript API contracts
- GitHub Actions CI/CD (ci.yaml + deploy.yaml)
- OIDC deploy role (githubdeploy-proposal-system)
- Dependabot configuration
- Cognito User Pool with Google OAuth, PKCE clients, groups
2026-05-16 18:40:46 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
new FrontendStack(app, 'proposal-system-frontend', {
|
|
|
|
|
stackName: 'proposal-system-frontend',
|
|
|
|
|
env,
|
|
|
|
|
description: 'Proposal System - CloudFront + S3 web hosting',
|
|
|
|
|
});
|