Skip to content

alertbox/serverless-hello-world-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Serverless Node.js examples using TypeScript are organized into groups and designed to illustrate the techniques needed to build great microservices. To use the samples clone our GitHub repository using Git.

Build and Run from Source

  1. Checkout the code and install dependencies
sls create --template-url https://github.com/alertbox/serverless-hello-world-ts --path my-hello-world-svc
  1. Compile and run example
cd my-hello-world-svc
npm start
  1. Play with the serverless example

Packaging and Deploying

With VS Code:

  1. Open VS Code Terminal
  2. Build and deploy
npm run build
npm run deploy