Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eveld/nomad-connect-cobol-demo


https://github.com/eveld/nomad-connect-cobol-demo

Last synced: 9 days ago
JSON representation

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
```