Commit Graph

5 Commits

Author SHA1 Message Date
Reckless_Satoshi
9ade961e0f
Work on update order endpoint and taker requests 2022-01-04 16:13:08 -08:00
Reckless_Satoshi
e9bcd23347
Add BookView endpoint and refactor pages 2022-01-03 06:27:25 -08:00
Reckless_Satoshi
354e7fc5c7
Create user generation API
Endpoint request contains a token. Server checks whether it has enough entropy to be secure (at least 128 bits and >0.7 shannon heterogeneity). Server hashes the token (once as of now) and derives nickname and robohash avatar (goes into static/assets/avatars). Nickname is limited to only adjectives, nouns and 3 digits, restricted to 18 characters long max. The corpus of nicknames is 20 billion big (maybe not enough? nick collision chance can happen, but server will just reply with 400 unless the token matches perfectly too)
2022-01-02 09:15:09 -08:00
Reckless_Satoshi
298efc394b
Create order detail API endpoint, create order page. Not fully working yet 2022-01-02 04:59:48 -08:00
Reckless_Satoshi
76a45bc8d5
Create API endpoint for POST make order
Added the Order model with a rough approxiation to the fields needed. The field status can be read lineally as the progression trough the app pipeline. The view serves POSTs requests to enter new orders into the db.
2022-01-01 14:40:08 -08:00