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:
| Day | Task | Start | Complete | Reference |
|---|
| Mon | Learn 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/2026 | 16/03/2026 | Clean Architecture Blog |
| Tue | Design 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/2026 | 17/03/2026 | Python Clean Architecture |
| Wed | Design DynamoDB Schema: - Analyze access patterns - Design single-table with PK/SK patterns - Design GSI for complex queries - Document schema with examples | 18/03/2026 | 18/03/2026 | DynamoDB Single Table Design |
| Thu | Design API Specification: - Define endpoints (Auth, Profile, Flashcards, Sessions, Scenarios) - Write OpenAPI 3.0 spec - Request/Response schemas | 19/03/2026 | 19/03/2026 | OpenAPI Specification |
| Fri | Learn 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/2026 | 20/03/2026 | Amazon 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/2026 | 21/03/2026 | Event 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