From c3ba5ad5ebe1d5bb28ed0a340af93e8547b1c5bc Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 7 Apr 2021 01:08:31 +0300 Subject: Initial commit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..fcfda11 --- /dev/null +++ b/README.md @@ -0,0 +1,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" +}' +``` + -- cgit v1.2.3-70-g09d2