Giter VIP home page Giter VIP logo

lambda-image-colors's Introduction

lambda-image-colors

An example AWS Lambda written in GoLang to tag a picture with its prominent colors

buddy pipeline

About

This repository implements an AWS Lambda using Go that allows you to tag JPEG images in an S3 bucket with their prominent colors from a given palette.

Lambda trigger schema

The goal of this project is to act as a tutorial to learn how to build, test and deploy AWS Lambdas written in Go.

This work is kindly sponsored by Buddy.works.

Getting started

Requirements

In order to run this example you need:

  • Go (1.12+)
  • Terraform (0.11+)
  • Docker (18.09+)
  • Docker-compose (1.23+)
  • GNU make
  • An AWS account (with AWS cli installed and configured)

Folders

  • Lambda source code can be found in cmd/image-colors-lambda
  • Terraform code for stack definition can be found in stack
  • Integration tests (using docker-compose) can be found in tests

Test and build

To test the application you can run:

make test

This will run:

  • Linting checks
  • Unit tests
  • Integration tests

Deployment

In order to deploy this solution to your default AWS account you can run:

make deploy

Read the full tutorial

Yet to be published, stay tuned!

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

License

Licensed under MIT License. © Luciano Mammino.

lambda-image-colors's People

Contributors

lmammino avatar

Watchers

James Cloos avatar  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.