Jake Kalstad 9 лет назад
Родитель
Сommit
161d3bffd8
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      README.md

+ 5 - 3
README.md

@@ -2,12 +2,14 @@
   An implementation of a restful crud service in rust as a POC.
 ![](http://i.imgur.com/nZBHDNp.gif)
 ### Tech
-
 * [Postgressql]
-* [Redis]
+* [Redis] 
+
 (cargo.toml is looking for r2d2-redis locally, snag a copy from -> https://github.com/sorccu/r2d2-redis)
+
 # API 
 ### cargo run --verbose -- 3000 postgres://postgres:toor@127.0.0.1:5432/data 
+## user
   User object represents both users and vendors
 ```
 curl -XPOST 127.0.0.1:3000/user -H "application/json" -d '{"id":"","name":"jake","password":"super secret", "email":"jake@jake.com","phone":"1239567","active":1,"products":[]}'
@@ -55,4 +57,4 @@ curl -XPOST 127.0.0.1:3000/appointment -H "application/json" -d '{"id":"", "name
 curl 127.0.0.1:3000/appointment/key-goes-here
 
 curl 127.0.0.1:3000/appointments
-``` 
+```