Let's Build a Serverless

e-commerce from scratch!

Luciano Mammino (@loige)

CityJS Athens ~ 2022-05-26

fth.link/sec

Get these slides!

Shared chat

https://stin.to/p3os6

Let me introduce myself first...

👋 I'm Luciano (🇮🇹🍕🍝🤌)

👨‍💻 Senior Architect @ fourTheorem (Dublin 🇮🇪)

📔 Co-Author of Node.js Design Patterns  👉

Let's connect!

  loige.co (blog)

  @loige (twitter)

  loige (twitch)

  lmammino (github)

We are business focused technologists that deliver.


Accelerated Serverless | AI as a Service | Platform Modernisation

We are hiring: do you want to work with us?

We host a weekly podcast about AWS

Requisites

Make sure all is good!

aws sts get-caller-identity
{
    "UserId": "XYZ",
    "Account": "123456789012",
    "Arn": "arn:aws:iam::123456789012:username"
}
  1. Clone fth.link/sec-repo

  2. then run: npm install

Let's also do this:

Introduction time! 🙋‍♀️🙋

Tell me in 30 secs:

Your name

Where do you work

Experience with Serverless & JavaScript

Favourite movie (or book)

  1. Clone fth.link/sec-repo

  2. then run: npm install

What are we building today? ⏱🎸

It turns out we have suddenly discovered the secret for time travel...

But there is only one rule...

NO betting or lottery 😖

So, how do we profit from this discovery?

Photo by Austin Distel on Unsplash

Let's sell tickets for the best gigs of the past! 🤑

Photo by Chris Zhang on Unsplash

Photo by Chris Zhang on Unsplash

What are we going to learn?

  • How to host a Single Page Application (SPA) on S3
  • How to write APIs with AWS Lambda and API Gateway
  • How to use DynamoDB to store the data for your APIs
  • How to process forms with AWS Lambda
  • How to store unit of works on SQS
  • How to create background workers with AWS Lambda

Disclaimer(s)

  • Our implementation won't be production-ready™️
  • We will cut (many) corners
  • We will favour an hands on approach and try to get something working

Let's do this! 💪

Cover Photo by Mourizal Zativa on Unsplash

THANKS! 🙌

Let's Build a Serverless e-commerce from scratch (Workshop)

By Luciano Mammino

Let's Build a Serverless e-commerce from scratch (Workshop)

Did you ever get that feeling when a random song pops into your brain and you can’t get rid of it? Well, that happened to me recently and I couldn’t even remember the title of the damn song! In this talk, I want to share with you the story of how I was able to recover the details of the song by navigating some music-related APIs using JavaScript, Node.js and the magic of async iterators!

  • 3,918