Coder Social home page Coder Social logo

kevwargo / paragone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roertbb/paragone

0.0 0.0 0.0 9.26 MB

Store your receipts in the โ˜๏ธ instead of bloating your wallet! ๐Ÿ’ธ

Shell 0.05% JavaScript 0.91% TypeScript 95.32% CSS 0.20% HTML 3.52%

paragone's Introduction

Paragone

Store your receipts in the โ˜๏ธ instead of bloating your wallet! ๐Ÿ’ธ

How it works?

Architecture

The whole application architectures consist of 2 stacks:

ParagoneFrontendStack

Stores frontend app built with React in Amazon S3 using Amazon CloudFront as CDN

ParagoneStack

Handles the backend for the applications.

  • GraphQL API serves as an entry point for the client app and uses Cognito for authentication.
  • User gets presigned URL to the S3 bucket to store (getUploadUrl) and retrieve (getDownloadUrl) receipt images.
  • Inserting new object into the bucket triggers the asynchronous processing. The sendReceiptToTextract Lambda stores the image metadata in DynamoDB and starts the image processing using Textract.
  • Once the analysis is completed, the sendTextractResultToDynamo Lambda is triggered based on SNS notification. It retrieves the text detection results from Textract, performs naive heuristics to get the price and stores it in DynamoDB.
  • When the data is inserted or updated in DynamoDB, it triggers receiptProcessed Lambda performing GraphQL mutation. It triggers the GraphQL subscription, pushing the update to the web app client.

Demo

paragone's People

Contributors

roertbb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.