manifold/web
Austin Chen feca042e47
Use the generated OpenGraph card in all markets (#23)
* Run OpenGraph server on dev port 3001

* Cut '%' since frontend already passes it

* Use the generated card in markets

* Rename to ogCardProps

* Don't show creator avatar url, for now

* Remove bad comment
2022-01-10 02:05:24 -05:00
..
.husky Disable tsc linting 2021-12-18 15:18:58 -08:00
components Use the generated OpenGraph card in all markets (#23) 2022-01-10 02:05:24 -05:00
hooks Change useContracts to return undefined instead of 'loading'. Serve static props on tag page 2022-01-09 14:51:20 -06:00
lib Query hot contracts from volume24Hours field. 2022-01-09 14:26:51 -06:00
pages Use the generated OpenGraph card in all markets (#23) 2022-01-10 02:05:24 -05:00
public Dynamically generate Opengraph images for each market (#21) 2022-01-10 00:50:31 -05:00
.eslintrc.js Turn off nextjs img lint rule 2021-12-10 18:18:43 -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
.prettierrc Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
next-env.d.ts upgrade nextjs version 2021-12-15 23:49:38 -06:00
next.config.js Change color scheme to be primary green (secondary purple, accent yellow). 2021-12-10 17:43:22 -06:00
package.json Add probability slider to Create Market 2022-01-06 00:45:30 -08:00
postcss.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
README.md Rename to Manifold Markets! (#19) 2022-01-06 12:48:30 -06:00
tailwind.config.js Change Title to use body font 2021-12-20 22:29:01 -08:00
tsconfig.json Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00
yarn.lock Add probability slider to Create Market 2022-01-06 00:45:30 -08:00

Manifold 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?