I want to build a webapp based on hexagonal architecture. I am using typescript and aws…
- User
I want to build a webapp based on hexagonal architecture. I am using typescript and aws lambda and other serverless technologies. Could you give me the folder strucuture for my code under hexagonal architecture?
Assistant
Sure, here's a suggested folder structure for a TypeScript-based web app using hexagonal architecture and AWS Lambda:
code. ├── infrastructure │ ├── lambda │ │ ├── infrastructure.ts │ │ └── functions │ │ ├── create_table.ts │ │ └── ... │ └── cloudformation.ts ├── application │ ├── usecases │ │ ├── create_user.ts │ │ └── ... │ └── adapters │ ├── users │ │ ├── users_repository.ts │ │ └── ... │ └── ... ├── domain │ └── entities │ ├── user.ts │ └── ... └── tsconfig.json
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.