https://github.com/alertbox/serverless-hello-world-ts
A simple serverless function to get started.
https://github.com/alertbox/serverless-hello-world-ts
aws-lambda boilerplate example-code nodejs serverless typescript
Last synced: 6 months ago
JSON representation
A simple serverless function to get started.
- Host: GitHub
- URL: https://github.com/alertbox/serverless-hello-world-ts
- Owner: alertbox
- License: gpl-3.0
- Created: 2018-12-08T06:14:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T17:42:56.000Z (over 7 years ago)
- Last Synced: 2025-03-21T20:19:28.255Z (about 1 year ago)
- Topics: aws-lambda, boilerplate, example-code, nodejs, serverless, typescript
- Language: TypeScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```shell
sls create --template-url https://github.com/alertbox/serverless-hello-world-ts --path my-hello-world-svc
```
2. Compile and run example
```shell
cd my-hello-world-svc
npm start
```
3. [Play with the serverless]() example
## Packaging and Deploying
With VS Code:
1. Open VS Code Terminal
2. Build and deploy
```shell
npm run build
npm run deploy
```