Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eveld/nomad-connect-cobol-demo
https://github.com/eveld/nomad-connect-cobol-demo
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eveld/nomad-connect-cobol-demo
- Owner: eveld
- Created: 2019-03-23T18:19:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T16:44:06.000Z (almost 2 years ago)
- Last Synced: 2023-03-13T10:55:30.997Z (over 1 year ago)
- Language: HCL
- Size: 54.9 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
# Run the app...
# The app now listens on port 8080 on localhost.
# In different terminals run:
make nginx
make nomad
make consul
make deploy# Get current balance...
curl http://localhost:8080/accounts/x# Deposit cash...
curl -X POST -d '{"amount": 300}' http://localhost:8080/accounts/x/deposit# Withdraw cash...
curl -X POST -d '{"amount": 300}' http://localhost:8080/accounts/x/withdraw
```