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.
- Checkout the code and install dependencies
sls create --template-url https://github.com/alertbox/serverless-hello-world-ts --path my-hello-world-svc
- Compile and run example
cd my-hello-world-svc
npm start
- Play with the serverless example
With VS Code:
- Open VS Code Terminal
- Build and deploy
npm run build
npm run deploy