edgenard / basic-ruby Goto Github PK
View Code? Open in Web Editor NEWa basic serverless ruby app on aws
a basic serverless ruby app on aws
This is a ticket to create the infrastructure for image processing
Write a function that processes the post request when form is submitted.
show_form
function but use the HTTP method "POST"ThumbnailWidth
. Make it a number, with a default of 300, a minimum value of 10 and a maximum value of 1000.CAPABILITY_AUTO_EXPAND
to the deployment command.The thumbnail will not be immediately available, this will be addressed in the next chapter
When the form submission fails the user should be returned to the form with an error message at the top explaining why it failed.
When there is an error in the ConfirmUpload Function it should return an HTML page apologizing for the error and showing an error message
When a user successfully uploads an image to a bucket, that bucket should trigger a Lambda function that downloads the file and moves it to another bucket.
ConvertImage
) which is triggered by a PUT to the basic-ruby-process-form
bucketConvertImage
function should download the file from basic-ruby-process-form
bucket and upload it to a new bucket(basic-ruby-converted-image
). It will need access to download from basic-ruby-process-form
and access to write to the basic-ruby-converted-image
basic-ruby-converted-image
bucket instead of the basic-ruby-process-form
bucket.ConvertImage
function should have dead letter queue attached that sends an email if any of the conversions fail.Add the ability for the user to post their submission directly to S3
show_form
function to be name spaced under UserForm
moduleshow_form
function so that it makes the submission directly to S3. (show_form
function will need permission to access the bucket and know the name of the bucket)confirm_upload
functionconfirm_upload
function should return an HTML page that thanks the user for their submissionWhen there is an error processing a request to the ShowFormFunction
Lambda it should return an HTML page that apologies for the error and shows the error message.
Add capability to deploy to a staging environment when making a PR
When PR is merged that environment should be destroyed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.