- id: String (UUID4)
- creationDate: Int (Unixtime)
- password: String
- group: "user" | "manager"
- email: String (로그인할때 사용)
- money: Int
- id: String (UUID4)
- creationDate: Int (Unixtime)
- name: String
- bankName: String
- accountNumber: String
- lat (Double)
- lng (Double)
- userId (String)
- id: String (UUID4)
- creationDate: Int (Unixtime)
- userId: String
- marketId: String
- money: Int
-
- route: /user/register
- request: {email:String, password:String, group:"user" | "manager"}
- response: {success:Boolean}
- route: /user/login
- request: {email:String, password:String}
- response: {id: String, creationDate: Int, name: String, password: String, group: String, email: String, money: Int, marketId: String}
-
- request: {userId:String, name:String, bankName:String, accountNumber:String, lat:Double, lng:Double}
- response: {success:Boolean}
- request: {marketId:String}
- response: {id:String, creationDate:Int, name:String, bankName:String, accountNumber:String, lat:Double, lng:Double, userId: String}
- route: /market/near
- request: {lat:Double, lng:Double}
- response: {items: [String, ...]}
- route: /market/users
- request: {userId:String}
- response: {items: [String, ...]}
-
- request: {userId:String, marketId:String, money:Int, tableName:String}
- response: {success:Boolean}
- request: {passId: String}
- response: {id: String, creationDate: Int, userId: String, marketId: String, money: Int}
- request: {marketId:String}
- response: {items: [String, ...]}
- request: {passId: String}
- response: {success: Boolean}
- 클라이언트 API 정의 후 구현 ( 100 % )
- 서버 API 정의 후 구현 ( 100 % )