Week 2

 Week 2 at Strastan

We spent the week turning our Attendance List API into an AWS CDK project. Bootstrapping the environment, installing Node.js packages, and wrestling with npm errors laid the groundwork each fix felt like clearing another hurdle on the road to a reliable infrastructure-as-code setup.

Deploying the stack to the Osaka region brought its own drama: expired tokens, missing credentials, and AWS SSO misconfigurations. Chasing down those errors, reconfiguring the CLI, and finally seeing a successful deploy felt like conquering a boss fight in an epic cloud-adventure game.

Cognito then took center stage. We wired up Lambda functions, API Gateway routes, and DynamoDB tables under Cognito’s protection. Postman became our best ally as we tested token issuance, validated bearer tokens, and hammered out authorization errors until endpoints behaved exactly as intended.

By week’s end, we archived a fully documented Postman collection complete with JSON payloads, headers, and authentication steps so any teammate can replay our setup in seconds.

Reflections & Challenges

This week was a crash course in secure API deployment. Battling setup quirks, authentication headaches, and real-world debugging showed me how many interlocking pieces power a modern backend. It’s wild how much effort goes into making an API simply “just work” in the cloud. Surviving these challenges and watching our system run securely was as rewarding as it was intense.


Comments

Popular posts from this blog

Week 5

Week 3