Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless Todo App with AWS

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Avatar for Aleksandra_A Aleksandra_A
May 13, 2025
27

Serverless Todo App with AWS

Build scalable apps with AWS Serverless using almost any languageю. This is a hands-on walkthrough with a simple Todo example.

Avatar for Aleksandra_A

Aleksandra_A

May 13, 2025

Transcript

  1. SERVERLESS FRAMEWORK PLUGINS / 8 [] serverless-webpack – Bundle your

    app using Webpack <> serverless-domain-manager – Add a custom domain (like api.myapp.com) {} serverless-offline – Test your functions on your own computer TS serverless-typescript – Use TypeScript in your cloud functions
  2. WHAT IS INFRASTRUCTURE AS CODE (IAC)? / 9 -x No

    waste Unused resources get removed !! Fewer mistakes No manual clicks—less chance for error <> Smart updates Only the needed changes are applied {} Developer-friendly YAML makes it easy to understand
  3. YOUR APP BECOMES A CLOUD STACK / 10 [] CloudFormation

    Stack >> Events Tab ## Resources Tab !! Debugging Made Easy
  4. SET UP ACCESS BETWEEN YOUR COMPUTER AND AWS / 13

    • What You Need to Do: • <> Create a New AWS User → Go to IAM (Identity and Access Management) in AWS → Click Users → Add User → Give it any name (e.g. todo-app-user) • [] Enable Access → Enable both: • Programmatic access (for CLI) • Console access (for web login)
  5. SET UP ACCESS BETWEEN YOUR COMPUTER AND AWS / 14

    • What You Need to Do step 2: !! Give Permissions (Temporarily) → Attach the AdministratorAccess policy → (Okay for learning, not for production) • {} Save Credentials → Save the Access Key ID and Secret Access Key →You’ll use these with aws configure
  6. SET UP ACCESS BETWEEN YOUR COMPUTER AND AWS / 15

    What You Need to Do step 3: → In your terminal, type: → Paste your keys → Region: eu-west-1 → Output format: yaml or json
  7. WHAT WE’RE BUILDING / 19 Fully backend-powered TODO app Built

    with AWS Lambda, API Gateway, and DynamoDB Written in JavaScript, deployed with Serverless Framework
  8. THE DYNAMODB TABLE / 21 Table name: todos Partition key:

    id (string, UUID) Other attributes: task, createdAt, completed
  9. RECAP / 28 Serverless TODO app: Create, Read, Update, Delete

    Built with Lambda, API Gateway, DynamoDB Optional tools: Middy, S3