{"id":50741240,"url":"https://github.com/dotoricode/cup-margin","last_synced_at":"2026-06-10T17:02:29.889Z","repository":{"id":357988979,"uuid":"1239426892","full_name":"dotoricode/cup-margin","owner":"dotoricode","description":"A lightweight margin notebook for cafe owners.","archived":false,"fork":false,"pushed_at":"2026-05-15T05:40:54.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-15T07:15:40.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cup-margin.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotoricode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-15T04:46:02.000Z","updated_at":"2026-05-15T05:41:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dotoricode/cup-margin","commit_stats":null,"previous_names":["dotoricode/cup-margin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dotoricode/cup-margin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotoricode%2Fcup-margin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotoricode%2Fcup-margin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotoricode%2Fcup-margin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotoricode%2Fcup-margin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotoricode","download_url":"https://codeload.github.com/dotoricode/cup-margin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotoricode%2Fcup-margin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34161284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-10T17:02:29.100Z","updated_at":"2026-06-10T17:02:29.884Z","avatar_url":"https://github.com/dotoricode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 컵마진 (CupMargin)\n\n한 잔 팔면 진짜 얼마 남는지 보여주는 카페 사장님용 메뉴 마진 계산기입니다.\n\n## 제품 목표\n\n- 메뉴 1개를 무료로 계산한다.\n- 판매가, 재료비, 포장비, 플랫폼 수수료, 폐기율, 인건비, 고정비 배부를 입력한다.\n- 한 잔당 남는 돈, 마진율, 월 예상 이익, 손익분기 잔수를 보여준다.\n- 500원/1,000원 가격 인상 시나리오를 바로 비교한다.\n- 무료 체험 → 월 9,900원 베이직 플랜으로 이어지는 저마찰 SaaS 흐름을 검증한다.\n\n## 아키텍처\n\nVertical Slice Architecture로 시작합니다.\n\n```txt\nsrc/\n  app/\n    page.tsx                 # 라우트 진입점, slice만 조립\n    layout.tsx               # 메타데이터와 공통 HTML\n  features/\n    cup-margin/\n      model/                 # 계산 도메인, 타입, 카피, 포맷터\n      ui/                    # 컵마진 랜딩과 계산기 UI\n```\n\n다음 기능은 `features/\u003cfeature-name\u003e` 단위로 추가합니다.\n\n- `inventory-pack`: 폐기·발주 기록\n- `review-pack`: 리뷰 대응 체크\n- `staff-pack`: 알바 온보딩·노무 체크\n- `pricing-pack`: 가격 인상 실험 리포트\n\n## 기술 스택\n\n- Next.js 16 App Router\n- React 19\n- TypeScript\n- Tailwind CSS 4\n- Vitest\n- 배포 예정: Vercel\n\n## 로컬 실행\n\n```bash\nnpm install\nnpm run dev\n```\n\n## 검증 명령\n\n```bash\nnpm test\nnpm run lint\nnpm run typecheck\nnpm run build\n```\n\n## 제품 카피\n\n- 제품명: 컵마진\n- 영문명: CupMargin\n- 슬로건: 한 잔 팔면, 진짜 얼마 남을까요?\n- GitHub 설명: A lightweight margin notebook for cafe owners.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotoricode%2Fcup-margin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotoricode%2Fcup-margin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotoricode%2Fcup-margin/lists"}