https://github.com/williamkoller/webapi-fast-serverless
Fast WebAPIs with Serverless
https://github.com/williamkoller/webapi-fast-serverless
docker docker-compose javascript nodejs serverless serverless-offline
Last synced: about 1 year ago
JSON representation
Fast WebAPIs with Serverless
- Host: GitHub
- URL: https://github.com/williamkoller/webapi-fast-serverless
- Owner: williamkoller
- Created: 2024-03-19T20:24:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-19T20:34:48.000Z (about 2 years ago)
- Last Synced: 2025-01-09T19:00:17.610Z (about 1 year ago)
- Topics: docker, docker-compose, javascript, nodejs, serverless, serverless-offline
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fast WebAPIs with Serverless
#### Installation
- required `serverless`, `docker` and `docker-compose`
- install `serverless` global with `npm`:
- `npm i -g serverless`
#### How run the application?!
- `npm i`
- `docker-compose up --build`
#### Example create data
- url: `localhost:3000/dev/create-data`
- body:
```json
{
"name": "any_name",
"surname": "any_surname",
"age": 1
}
```
- response body:
```json
{
"message": "Data inserted successfully!"
}
```