AWS Lambda Typescript Template
Andronik Nazaryan
Posted on April 24, 2022
Hello there, today I want to present you template built by me.
Serverless functions are growing in popularity, and since today I haven't found a good template to develop serverless functions in Typescript
you can view template on this URL REPOSITORY
template includes basic structure which can be modified in any way
Instructions
clone repository
git clone https://github.com/anridev24/sls-lambda-ts-template.git
CD into project and open with your text editor
cd .\sls-lambda-ts-template\
code .
install dependencies and start the development server
npm install
npm run dev
you can start coding in src folder
and finally you can deploy it using
serverless deploy
Everything you write will be transpiled to JavaScript in a dist folder.
When you deploy, useless packages will be excluded to guarantee minimal deployment size.
Thank you for reading, if you have any questions feel free to ask.
Will be happy if you give me a star on GitHub ⭐
Posted on April 24, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.