summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..fcfda11
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
1# Gradecoin
2
3This will sit behind nginx reverse proxy so running at 127.0.0.1:8080 is no problem, or https.
4
5```
6$ cargo run
7
8$ curl --location --request POST 'localhost:8080/transaction' --header 'Content-Type: application/json' --data-raw '{
9 "source": "Myself Truly",
10 "target": "Literally Anybody Else",
11 "amount": 12,
12 "timestamp": "2021-04-07T00:17:00"
13}'
14```
15