Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soartec-lab/serverless_framework_sample
Consideration of development sample and file structure with `serverless framework`
https://github.com/soartec-lab/serverless_framework_sample
Last synced: about 1 month ago
JSON representation
Consideration of development sample and file structure with `serverless framework`
- Host: GitHub
- URL: https://github.com/soartec-lab/serverless_framework_sample
- Owner: soartec-lab
- Created: 2021-02-21T15:26:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-22T15:08:33.000Z (almost 4 years ago)
- Last Synced: 2024-10-22T02:14:08.700Z (2 months ago)
- Language: Dockerfile
- Size: 76.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless_framework_sample
Consideration of development sample and file structure with `serverless framework`# Setup
```
$ docker-comopse build
$ docker-compose up -d
$ docker-compose exec serverless bash
$ yarn sls invoke local -f hello
yarn run v1.22.5
warning package.json: No license field
/serverless/node_modules/.bin/sls invoke local -f hello{
"statusCode": 200,
"body": "{\"message\": \"Go Serverless v1.0! Your function executed successfully!\", \"input\": {}}"
}Done in 20.00s.
```# Enviroments
```
$ yarn -v
1.22.5$ python -V
Python 3.8.8$ yarn sls -v
Framework Core: 2.25.2 (local)
Plugin: 4.4.3
SDK: 2.3.2
Components: 3.7.0
```