https://github.com/remy727/microservice-demo-1
https://github.com/remy727/microservice-demo-1
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/remy727/microservice-demo-1
- Owner: remy727
- Created: 2022-09-03T17:15:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-03T17:38:30.000Z (almost 3 years ago)
- Last Synced: 2025-01-10T11:42:05.618Z (5 months ago)
- Language: Ruby
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
- Seed example data
```
curl -d '{"name": "salah", "score": 4.1}' -H 'Content-Type: application/json' http://localhost:3000/users
curl -d '{"name": "mane", "score": 4.5}' -H 'Content-Type: application/json' http://localhost:3000/users
```- Run microservice that returns the list of names
```
bundle exec puma -b tcp://0.0.0.0:8080 config_names.ru
curl -v http://localhost:8080
```