manifold/web
Austin Chen 634c0af85b
Finish porting simulator into React (#1)
* Preview bid results; toggle bid type

* Code cleanup: move hooks to where they're used

* Extract header to separate component

* Fix & reactify according to James's review

* Remove unnecessary useMemo

* Hack Chartjs type

* Add some notes on DX Todos

* Move non-page elements to lib/
2021-12-08 08:30:29 -08:00
..
components Finish porting simulator into React (#1) 2021-12-08 08:30:29 -08:00
lib/simulator Finish porting simulator into React (#1) 2021-12-08 08:30:29 -08:00
pages Finish porting simulator into React (#1) 2021-12-08 08:30:29 -08:00
public Add cover image for meta tag. 2021-12-02 18:43:02 -06:00
.gitignore Build as a static site 2021-12-01 18:35:08 -06:00
.prettierrc Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
next-env.d.ts Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00
next.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
package-lock.json Add chart.js to React simulator 2021-12-05 10:19:10 -08:00
package.json Add chart.js to React simulator 2021-12-05 10:19:10 -08:00
postcss.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
README.md Finish porting simulator into React (#1) 2021-12-08 08:30:29 -08:00
tailwind.config.js Port simulator to React 2021-12-05 00:39:42 -08:00
tsconfig.json Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00

Mantic Markets web

Getting Started

  1. Run npm install
  2. Run npm run dev
  3. Your site will be available on http://localhost:3000

Formatting

Before committing, run npm run format to format your code.

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

Developer Experience TODOs

  • Automatically run prettier as code commit hook?
  • Prevent git pushing if there are Typescript errors?