An open API service indexing awesome lists of open source software.

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

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!"
}
```