https://github.com/franciscocpg/serverless-templates
Opinionated serverless templates
https://github.com/franciscocpg/serverless-templates
aws-lambda nodejs serverless templates typescript
Last synced: 3 months ago
JSON representation
Opinionated serverless templates
- Host: GitHub
- URL: https://github.com/franciscocpg/serverless-templates
- Owner: franciscocpg
- Created: 2018-10-18T12:45:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T23:23:17.000Z (over 2 years ago)
- Last Synced: 2025-01-13T21:47:09.838Z (5 months ago)
- Topics: aws-lambda, nodejs, serverless, templates, typescript
- Language: TypeScript
- Size: 3.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-templates
Opinionated serverless templates.
## aws-nodejs-typescript
A nodejs using typescript project with AWS as provider.
It uses jest as test framework and it has an opinonated configuration
for linting using `ts-lint` and `tslint-eslint-rules`.### Installing
```sh
sls create -u https://github.com/franciscocpg/serverless-templates/tree/master/aws-nodejs-typescript --path aws-nodejs-typescript
cd aws-nodejs-typescript
yarn
```### Invoking locally
```sh
yarn sls invoke local -f hello
```### Invoking using serverless-offline
Open a terminal and run:
```sh
yarn sls offline start
```Open another terminal and run:
```sh
curl localhost:3000/hello
```