Commit Graph

57 Commits

Author SHA1 Message Date
James Grugett
8884f1beb9
Expose resolutionTime in API (#56)
* Expose resolutionTime. Compute closeTime to be the min of resolution and close time

* Rename settled to resolved, newest to most recent
2022-02-28 11:40:48 -08:00
mantikoros
42f88766b3 api: remove userId from bets 2022-02-19 22:51:51 -06:00
Austin Chen
8f40350a75 API: Rename to LiteMarket/FullMarket; include creator avatar url 2022-02-17 16:04:05 -08:00
Austin Chen
51aa8df010
Set up a read API using Vercel serverless functions (#49)
* Set up read API using Vercel serverless functions

Featuring:
/api/v0/markets
/api/v0/market/[contractId]
/api/v0/slug/[contractSlug]

* Include tags in API
2022-02-17 12:56:24 -08:00
Austin Chen
20a425df6e Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
Austin Chen
d6d48bb6b4 Reformat with prettier 2021-12-02 17:39:11 -06:00
jahooma
a1163bfcfb Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00