An enterprise-grade, high-performance boutique coffee mobile application built with Next.js 15, Capacitor 7, and Atomic Design principles.
This project follows a Modular Monolithic structure with Regional Governance to ensure extreme scalability and maintainability.
| Region | Purpose | Governance |
|---|---|---|
app/ |
Routing & Layout | Next.js App Router |
frontend/ |
UI Components | Atomic Design (atoms, molecules, organisms) |
backend/ |
Business Logic | Modular Services (auth, product, order) |
core/ |
Cross-Cutting | Shared Contexts, Constants, & Utilities |
configs/ |
System Level | Env Validation & Project Settings |
We follow a strict, searchable, and professional naming convention to ensure code clarity.
| Category | Convention | Example |
|---|---|---|
| Files | snake_case |
auth_service.ts |
| Components | F_Pascal_Snake |
F_Login_Form |
| Props | p_snake_case |
p_on_click_handler |
| Types/Interfaces | I_Pascal_Snake |
I_User_Profile |
| Services/Classes | C_UPPER_SNAKE |
C_AUTH_SERVICE |
| Variables/Flags | snake_case_flag |
is_authenticated_flag |
Important
All imports must use the @/ absolute alias. Files in frontend/ cannot import directly from backend/; they must use core/ bridges.
- Framework: Next.js 15
- Mobile Runtime: Capacitor 7
- Styling: Tailwind CSS 4
- State Management: React Context + Modular Services
- Icons: Remix Icon
- Node.js 20+
- npm 10+
- Android Studio (for Android builds)
# 1. Clone the repository
git clone [repository-url]
# 2. Install dependencies
npm install
# 3. Environment setup
cp .env.example .env
# 4. Run development server
npm run dev- Regional Governance: Never cross boundaries. UI logic stays in
frontend/, Business inbackend/. - Atomic Design:
- Atoms: Stateless single-tag units (
F_Button). - Organisms: Complex sections composed of atoms (
F_Top_Nav).
- Atoms: Stateless single-tag units (
- Commit Messages: Follow Conventional Commits.
See the full Contribution Guide for detailed standards.
- Zod Env Validation
- React Error Boundaries for specific content regions
- Native Splash Synchronization
- Real API Integration (Axios/Fetch)
- TanStack Query Migration
- Centralized UI Tokens
- Monorepo Migration (Turborepo)
- MSW Integration for offline dev
- Storybook Deployment
Distributed under the MIT License. See LICENSE for more information.