manifold/web
2022-04-26 08:42:45 -06:00
..
.husky Disable tsc linting 2021-12-18 15:18:58 -08:00
components Your trades -> Your bets 2022-04-26 08:38:28 -06:00
hooks Track latency of feed and portfolio page. 2022-04-21 01:00:08 -05:00
lib Support local firestore emulation (#91) 2022-04-25 09:46:35 -06:00
pages Top traders -> Top bettors 2022-04-26 08:42:45 -06:00
public Portfolio page! Add to sidebar when signed in, move about into more. 2022-04-03 15:48:25 -05:00
.eslintrc.js Turn of lint for nextjs typos (triggered by getStaticPropz) 2022-03-09 21:31:38 -06:00
.gitignore Run a ts type checker in parallel with nextjs dev process 2021-12-19 15:26:59 -06:00
.prettierignore Run prettier 2021-12-09 15:23:21 -08:00
next-env.d.ts upgrade nextjs version 2021-12-15 23:49:38 -06:00
next-sitemap.js Generate sitemap server-side 2022-03-24 09:52:13 -07:00
next.config.js Update API link 2022-03-24 09:40:57 -07:00
package.json Bump web typescript to 4.5.3 (#98) 2022-04-25 10:47:00 -05:00
postcss.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
README.md Support local firestore emulation (#91) 2022-04-25 09:46:35 -06:00
tailwind.config.js Fix tiny Tailwind config details (#82) 2022-04-19 21:41:24 -05:00
tsconfig.json Take 2 on getting tsc to behave (#97) 2022-04-25 10:46:20 -05:00

Manifold Markets web

Getting Started

  1. yarn to install all dependencies
  2. yarn dev:dev to bring up a local instance, pointing to dev database)
  3. Your site will be available on http://localhost:3000

(yarn dev will point you to prod database)

Running with local emulated database and functions

  1. yarn serve first in /functions and wait for it to start
  2. yarn dev:emulate will point you to the emulated database

Formatting

Before committing, run yarn format to format your code.

Recommended: Use a Prettier editor integration to automatically format on save

Developer Experience TODOs

  • Prevent git pushing if there are Typescript errors?