Giter VIP home page Giter VIP logo

fridge-mate's Introduction

Fridge Mate

Do you have a fridge at work or in a club, selling stuff for internal use? This is intended to be a simple program which can be used to facilitate this.

I'm doing this with very limited time as a small project to learn some Golang amoung others, so it might take a while before anything comes up here, if ever ;)

Ideas

  • With account it should be very quick to choose an item
  • No checkout-procedure - you can revert transactions instead
  • No login = simply display price to pay (large)

Technical Ideas

  • Use oauth2 for users. Integrate with auth0?
  • Leverage AWS Lambda & Dynamodb and use static web page since it will be low & irregular traffic
  • Continue!

Detailed technical setup ideas

  • S3 & CloudFront to serve static page
    • jQuery to on client side fetch dynamic data like products
  • Use AWS cognito to authenticate users
  • API Gateway backed by AWS Cognito user pool as authorizer
  • Lambdas to handle requests
  • DynamoDb to handle inventory & transactions
@startuml

cloud "AWS" {
  API - [Cogniton]
  
  database "S3" {
    [Static site]
  }
  Cloudfront -- [Static site]
  [Static site] -up-> API

  node "Lambdas" {
    [PerformTransaction]
    [GetTransactions]
  
  }
  API -down-> [PerformTransaction]
  API -down-> [GetTransactions]

  [GetTransactions] -down-> DynamoDb
  [PerformTransaction] -down-> DynamoDb

  database "DynamoDb" {

  }
}

@enduml

fridge-mate's People

Contributors

kejne avatar

Stargazers

Kaj Fehlhaber avatar

Watchers

Kaj Fehlhaber avatar

fridge-mate's Issues

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.