Worklog Week 2

Week 2 Objectives: Serverless Architecture & Frontend Setup

  • Understand Serverless architecture and benefits (cost, scalability)
  • Research core services: Lambda, API Gateway, S3, DynamoDB
  • Practice workshops and deployment with AWS SAM
  • Design preliminary system architecture
  • Align on UI/UX and setup frontend with Next.js + Shadcn/ui
  • Research AI services integration

Weekly Tasks:

DayTaskStartCompleteReference
MonLearn Clean Architecture:
- Read “Clean Architecture” by Robert C. Martin (main chapters)
- Dependency Rule & Layer separation
- Entities, Use Cases, Interface Adapters, Frameworks
- Apply to Python with type hints
16/03/202616/03/2026Clean Architecture Blog
TueDesign Clean Architecture for Lexi:
- Domain Layer: Entities (User, Flashcard, Session, Scenario)
- Use Case Layer: Business logic interfaces
- Infrastructure Layer: DynamoDB, Bedrock adapters
- Presentation Layer: Lambda handlers
- Draw architecture diagram
17/03/202617/03/2026Python Clean Architecture
WedDesign DynamoDB Schema:
- Analyze access patterns
- Design single-table with PK/SK patterns
- Design GSI for complex queries
- Document schema with examples
18/03/202618/03/2026DynamoDB Single Table Design
ThuDesign API Specification:
- Define endpoints (Auth, Profile, Flashcards, Sessions, Scenarios)
- Write OpenAPI 3.0 spec
- Request/Response schemas
19/03/202619/03/2026OpenAPI Specification
FriLearn Amazon Bedrock, Transcribe & Polly:
- Bedrock concepts & Nova Lite model
- Transcribe: Speech-to-text streaming
- Polly: Text-to-speech with neural voices
- Practice: Test the services
20/03/202620/03/2026Amazon Bedrock
SatπŸŽ‰ Participate in AWS First Cloud AI Journey Community Day 2026:
- Location: Floor 26 Bitexco Financial Tower, 02 Hai Trieu, D1, HCMC
- Time: 09:00 – 12:00
- Connect with Cloud experts
- Explore Cloud & Generative AI applications
- Experience live demos
- Expand networking
- Official FCAJ Bootcamp 2026 Kickoff
21/03/202621/03/2026Event Link

Week 2 Results:

1. Clean Architecture Knowledge:

  • βœ… Understood Dependency Rule and layer separation
  • βœ… Learned how to apply Clean Architecture to Python
  • βœ… Created architecture diagram for Lexi project
  • βœ… Clearly defined layers and dependencies
  • βœ… Team meeting to discuss and align on code organization

2. Database Design:

  • βœ… Complete DynamoDB schema with single-table design
  • βœ… All access patterns covered
  • βœ… GSI designed for complex queries
  • βœ… Detailed documentation with examples
  • βœ… Team discussion on DynamoDB best practices

3. API Design:

  • βœ… Complete OpenAPI specification
  • βœ… All endpoints clearly defined
  • βœ… Request/Response schemas with validation
  • βœ… Standardized error responses
  • βœ… Review and adjustments based on team feedback

4. AI Services Knowledge:

  • βœ… Understood how to use Amazon Bedrock Nova Lite
  • βœ… Learned Transcribe for speech-to-text
  • βœ… Learned Polly for text-to-speech
  • βœ… Successfully tested the services
  • βœ… Submitted support ticket for Bedrock permissions (awaiting response)

5. Networking & Learning:

  • βœ… Participated in “AWS First Cloud AI Journey Community Day 2026” at Bitexco Financial Tower
  • βœ… Learned about Platform Engineering and GenAIOps
  • βœ… Explored trends in building AI applications on AWS
  • βœ… Gained additional ideas and knowledge from experts
  • βœ… Networked with AWS community and mentors
  • βœ… Official FCAJ Bootcamp 2026 Kickoff

Challenges and Solutions:

Challenge 1: Single-table design complexity with many entity types

  • Solution: Team discussion, reference best practices, use composite keys pattern

Challenge 2: Bedrock responses may be slow

  • Solution: Design with streaming response and timeout handling

Challenge 3: Clean Architecture may make code complex

  • Solution: Start with simplified version, only 3 core layers

Challenge 4: Not yet granted Bedrock permissions

  • Solution: Submitted support ticket, will mock responses for parallel development

Next Week Plan (Sprint 1 - Week 3):

  • Implement Authentication with Cognito
  • Create User entity and use cases
  • Implement DynamoDB repository layer
  • Create Lambda handlers for Auth endpoints
  • Setup API Gateway with Cognito authorizer
  • Team meeting to review progress and adjust if needed