Skip to content

baermat/alex_hackathon202304

 
 

Repository files navigation

Fuzzy Movies

Lambda, Kinesis, Firehose, ElasticSearch, S3

Screenshot

This Hackathon project is an AWS app consisting of:

  • A data ingestion pipeline which allows adding movie data to an ElasticSearch index via:
    1. An AWS Lambda function, explosed via a fuction URL.
    2. The Lambda function sends the JSON payload to a Kinesis Data Stream.
    3. A Kinesis Firehose Delivery Stream forwards the data to an ElasticSearch domain.
  • A frontend / website which:
    • Has a simple search interface to search for movies in the database.
    • The HTML page uses a vanilla JS script to query data using a second Lambda function.
    • This Lambda function performs a fuzzy query on the movie index in the ElasticSearch cluster.

System Overview

System Overview

Setup

  1. Clone this repo and cd into its working directory
  2. Install the following tools:
  1. Start LocalStack in the foreground so you can watch the logs:
    docker compose up
    
  2. Open another terminal window and cd into the same working directory
  3. Create the resource and trigger the invocation of the lambda:
    ./run.sh
    

TODO:

About

Alex Hackathon 2023-04

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 54.1%
  • Python 14.9%
  • JavaScript 13.7%
  • Shell 10.0%
  • CSS 3.8%
  • HTML 3.5%