Front-end repo for Mochi Web.
Name | URL |
---|---|
Production | https://mochi.gg |
Core UI Document | https://mochi.gg/dashboard/_components |
- Install dependencies:
pnpm
- Prepare env by looking into the
.env.example
file. At the moment, you can run the app by simply copy.env.example
into.env
. Feel free to reach out to other maintainers for the envs if you need further help.
Run development server:
NOTE: this will run the localhost on a secure protocol so the url is https://localhost:3000, the reason for this extra setup is because in order to debug wallet connect to mobile locally the origin must be a secure protocol in order to generate the connection URI.
pnpm dev:https
- Please refer to the Core UI Document for a list of re-usable components & their variants
- You can also check detailed their implementation in pages/dashboard/_components.tsx if you need more references
We are using Vercel for auto deployment.
- Preview builds on PR
- Production build on merging into
master
Please follow conventional commits.
feat: do something
chore: do something trivial
fix: something that's broken
...
Our PR process is simple - just create a PR into master
when your changes are
ready. Some tips for creating PRs:
- PR name should follow conventional commit. E.g.:
feat: add X page
- PR description should include relevant details:
- What does this PR do?
- How to test?
- Media (Image/Video) if applicable