Skip to content

0. Sample transcribe service

haruharuharuby edited this page Dec 16, 2022 · 15 revisions

Summary

You will make a small SaaS that is some kind of audio transcribing service. "Transcribing" means Speech To Text (STT).

Your service receives an mp3 file from the purchaser of your product. Then, your service sends a transcribed result back to the customer.

Preparations

In this workshop, You use the below 3 platforms. Register them before starting this workshop.

Expected level

From Beginners to Intermediate

Language

Javascript

Customer story

This is the shortest path of the customer story.

  1. Customer buys a product.
  2. The service sends a link to upload an audio file.
  3. Customer upload an audio file.
  4. Service transcribes the audio file. Then, the service sends a download link of the transcribed result.
  5. Customer downloads the result from the link.

Architecture

Screenshot 2022-10-25 at 21 35 35

Learning context

  • Event-Driven.
    All the collaboration between platforms or multiple services inside AWS is handled by event passing.

  • Serverless.
    No servers. Nothing 24365 hosting machines.

  • Less Code.
    We write just a small code as glue.

  • Payment and customer information are fully separated.
    We don't store(or embed) sensitive information in our business logic.

What services you will use in the workshop

  • Stripe Product.
  • Stripe Checkout.
  • Stripe Payment link.
  • Amazon EventBridge EventBus.
  • Amazon S3 bucket.
  • AWS StepFunctions state machine.
  • Amazon Simple Email Service.
  • AWS Lambda Functions.
  • AWS DynamoDB table.
  • Amazon Transcribe.

Clone this wiki locally