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

https://github.com/stuartapp/stuart-express-api-v3

POC express
https://github.com/stuartapp/stuart-express-api-v3

Last synced: 2 months ago
JSON representation

POC express

Awesome Lists containing this project

README

          

## Description

```
npm run start:prod
```

```
docker build -t stuart-express-api . && docker run --rm -p 3000:3000 stuart-express-api
```

Endpoints:
```
GET http://localhost:3000/v3/health
POST http://localhost:3000/v3/orders
POST http://localhost:3000/v3/orders/http-delay
POST http://localhost:3000/v3/orders/http-random-delay
```

Environment:

```
PORT=3000
HTTP_DELAY_IN_SECONDS=2
```