manifold/web
Austin Chen da4ce99755
Merge Manifold for Teams infra into main codebase (#61)
* Add dev target for TheoremOne

* Restrict signups to theoremone.co emails

* Add new indices

* Forbid reads from unauthenticated users

* Client-side render pages that need auth

These pages are now client-side rendered:
- /home
- /leaderboards
- /market/...
- /fold/...

* Hide 404 for private Manifolds

* Brand instance for TheoremOne

* Hide "Add Funds" and "Personalize your feed"

* "M$" =>  "T$"

* Hide Discord & About Page too

* Update placeholders for teams

* Update firestore.indexes.json

* Switch /analytics to propz

* Migrate per-env code into common/

* More migrations to PROJECT_ID

* Conditionally use SSG depending on public vs private instance

* Fix props to be empty object

* Move more logic into access

* Spin out config files for each environment

* Generify most of the customizable brand stuff

* Move IS_PRIVATE_MANIFOLD to access.ts

* Rename access.ts to envs/constants.ts

* Add "dev:dev" alias

* Rever firestore rules to existing settings

* Fixes according to James's review
2022-03-08 18:43:30 -08:00
..
.husky Disable tsc linting 2021-12-18 15:18:58 -08:00
components Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
hooks Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
lib Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
pages Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
public Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08: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
next-env.d.ts upgrade nextjs version 2021-12-15 23:49:38 -06:00
next.config.js Reroute /api and /api/v0 to our docs page 2022-02-21 10:50:20 -08:00
package.json Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43: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 Clean up About page 2022-02-06 00:35:58 -08:00
tsconfig.json Change back typscript target to es5 2022-01-22 15:25:09 -06:00
yarn.lock List users on admin page (#28) 2022-01-15 22:09:15 -05: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?