The frontend of the Game as a Service lobby.
# Host by Yarn
1. yarn
2. yarn dev
# Host by Docker
1. Install Docker and Docker compose
2. docker compose build
3. docker compose up
# Lint
yarn pre-commit
# Runs All Test
yarn test
## Unit Test
yarn unit-test
### Test singel files/folder
yarn jest $PATH
## E2E Test
yarn e2e-test
# Storybook
yarn storybook
- Branch Name:
feature/ticket-name
git checkout -b feature/[ticket-name]
- Commit:
feat: ticket-name
- Route: snake-case
- Components: PascalCase
- Test
- Implementation
- Doc(Storybook)
- Atomic Design
- MVVM
- Storybook Reference
- Material UI
- Demo: Playground + Props (Size, color, ...)
- mocks/:放 mock 資料,提供給 pages/api/mock 使用
- 根據類型(如:requests, components)來分類
- 而不是根據功能(如: auth, lobby)來分類
- 原訂要做的直接開 Issues (Story Points, AC, Assignee, API)
- 未捕捉到的:開 PR 時綁 Github Projects
這樣在 Github Projects 就能看到原本的 User Story 跟 Sprint 過程中多做的 bugs,如果這週沒辦法完成的就開 Issues 在下次開會時納入討論
Made with contrib.rocks.