Skip to content

Simple application deployed using LocalStack, developed using the Serverless framework.

Notifications You must be signed in to change notification settings

abduljaleel/localstack-serverless

Repository files navigation

Build Status

LocalStack Serverless

Simple demo application deployed using LocalStack, developed using the Serverless framework.

This demo uses following AWS Services (ofcourse, locally)

  • API Gateway
  • CloudFormation
  • Lamda
  • S3
  • SQS
  • DynamoDB
  • Step Functions

Prerequisites

  • LocalStack
  • Docker
  • Node.js / npm
  • make

Installing

Install the dependencies using this command:

make install

Running

Start the application locally in LocalStack:

make start

Testing

Open the following file in your browser: demo/web/index.html

  • Enable the option "Auto-Refresh" to continuously poll for new results
  • Click the button "Create new request" to send a new request to the backend API
  • The new request will go through the phases QUEUED->PROCESSING->FINISHED as the request is being handled by the backend services (Lambda functions, Step Functions state machine)

If you have the awslocal command line installed, you can browse the contents of the local S3 bucket via:

awslocal s3 ls s3://archiveBucket/

Dashboard

Install Commandeer to view the resources https://getcommandeer.com/

License

This code is available under the Apache 2.0 license.

About

Simple application deployed using LocalStack, developed using the Serverless framework.

Resources

Stars

Watchers

Forks

Packages

No packages published