https://github.com/stuartapp/stuart-rails-api-v3
https://github.com/stuartapp/stuart-rails-api-v3
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stuartapp/stuart-rails-api-v3
- Owner: StuartApp
- Created: 2023-01-31T08:56:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T09:39:38.000Z (over 3 years ago)
- Last Synced: 2025-05-31T04:07:22.513Z (about 1 year ago)
- Language: Ruby
- Size: 24.4 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
docker build -t rails-api . && docker run --rm -p 3000:3000 rails-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
```