Code Monkey home page Code Monkey logo

aws_serverless's Introduction

AWS Serverless Web application

This repository is the sample example that covers a complete web app built with AWS serverless architecture. If you wish to go through the summary of this take a look at Building a web application using AWS serverless architecture

AWS Services covered

Directory Structure

├── buildspec_node.yml
├── lambdas
│   ├── clean-s3-data
│   │   ├── index.js
│   │   └── package.json
│   ├── eval-upload
│   │   ├── index.js
│   │   └── package.json
│   ├── fetch-s3-data
│   │   ├── index.js
│   │   └── package.json
│   ├── post-process-cleanup
│   │   ├── index.js
│   │   └── package.json
│   ├── process-gif
│   │   ├── index.js
│   │   └── package.json
│   ├── process-jpg
│   │   ├── index.js
│   │   └── package.json
│   ├── process-png
│   │   ├── index.js
│   │   └── package.json
│   └── start-step-func
│       ├── index.js
│       └── package.json
├── README.md
├── scripts
│   ├── cloudformation
│   │   ├── aws-serverless-cfn-parameter.json
│   │   └── samTemplate.yaml
│   └── node-lambdas.sh
├── step-functions
│   └── file-upload-processor.json
└── UI
    ├── ASSETS
    │   └── banner.png
    ├── CSS
    │   └── main.css
    ├── HTML
    │   └── index.html
    └── SCRIPTS
        └── main.js

UI directory contains all the UI code of the web application that is hosted on a static website in S3. Directory structure under UI is further divided as per it's contents. For example javascript files go under SCRIPTS folder. buildspec_node.yml file at the root directory is a configuration file provided to AWS code build project. This is used to build all our backend infrastructure. All the lambdas that form the backend of our web application lie inside lambdas directory. Each is a NPM module with index.js and package.json file. scripts folder contain all the scripts needed for CICD. node-lambdas.sh is a shell script file that is referenced by buildspec_node.yml for code build project. All scripts needed for cloud formation deployment go under cloudformation directory. samTemplate.yaml is the cloud formation template whereas aws-serverless-cfn-parameter.json contains the input placeholders that the SAM template references. This file would change for each user based on their AWS environment configurations. step-functions directory has the JSON file to create the state machine.

If you have any other questions please reach out to me at [email protected].

aws_serverless's People

Contributors

aniket91 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.