aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: fcfda11e2bbe0849f77b35ce6e1b66a9b2790439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Gradecoin

This will sit behind nginx reverse proxy so running at 127.0.0.1:8080 is no problem, or https.

```
$ cargo run

$ curl --location --request POST 'localhost:8080/transaction' --header 'Content-Type: application/json' --data-raw '{
  "source": "Myself Truly",
  "target": "Literally Anybody Else",
  "amount": 12,
  "timestamp": "2021-04-07T00:17:00"
}'
```