Giter VIP home page Giter VIP logo

cho0o0 / typescript-localstack-lambda-sample-project Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 0.0 102 KB

A sample project to show how to integrate TypeScript, Jest, Localstack, Serverless Framework, and CircleCI together

Home Page: https://circleci.com/gh/cho0o0/workflows/TypeScript-LocalStack-Lambda-Sample-Project

JavaScript 52.21% TypeScript 47.79%
lambda jest typescript localstack serverless serverless-framework circleci webpack eslint-typescript prettier docker

typescript-localstack-lambda-sample-project's Introduction

TypeScript LocalStack Lambda Sample Project

CircleCI

Introduction

This is a sample project to show how to integrate TypeScript, Jest, Localstack, Serverless Framework, and CircleCI together to achieve a relatively seamless AWS lambda development workflow locally.

Stacks Used

Development

  • TypeScript: To write the code more fluently.
  • Webpack: To bundle third-party libraries and transpile TypeScript to JavaScript for Node.js 10.X support.
  • ESLint + Prettier: To check and format code for avoiding careless mistakes.

Test

  • Jest: To write, run test code and collect results.
  • Localstack: To emulate AWS services i.e. S3, IAM, CloudFront locally.
  • Docker: To provide an environment with Localstack prepared.
  • Serverless: To deploy code onto Localstack.
  • CircleCI: To perform online CI.

Note

  • Babel is not introduced since tools such as ts-node and ts-jest have already covered many features of Babel.
  • The deployment to staging or production environment is not covered in this sample project. People can consider Terraform or AWS CDK for such purpose.

LICENSE

Apache License 2.0

typescript-localstack-lambda-sample-project's People

Contributors

cho0o0 avatar

Stargazers

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