mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 14:43:13 +00:00
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
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
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,
|
|
});
|
|
|
|
new FrontendStack(app, 'proposal-system-frontend', {
|
|
stackName: 'proposal-system-frontend',
|
|
env,
|
|
description: 'Proposal System - CloudFront + S3 web hosting',
|
|
});
|