FloCafe
FloCafe is the free, local-first restaurant POS in the FloPOS ecosystem. Run orders, tables, kitchen display, and local data without a software subscription.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗NovaTech is a modern Point of Sale (POS) and Inventory Management System built with cutting-edge web technologies. It is designed to be fast, scalable, and easy to maintain.
The project has been carefully modularized for better maintainability and scalability:
novatech/
├── public/ # Static assets (images, icons)
├── scripts/ # Utility scripts (e.g., clean-db.ts)
├── drizzle/ # Drizzle database migrations and snapshots
└── src/
├── app/ # Next.js App Router
│ ├── (auth)/ # Authentication pages (Sign In, Sign Up)
│ ├── (main)/ # Main application routes (Dashboard, POS, Inventory, etc.)
│ ├── actions/ # Next.js Server Actions for handling mutations
│ └── api/ # Next.js API Routes (e.g., for auth)
│
├── components/ # Reusable React components
│ ├── ui/ # Generic UI components (Buttons, Inputs, etc.)
│ ├── layout/ # Layout components (Sidebar, Navbar)
│ └── ... # Feature-specific components (pos, inventory, etc.)
│
├── db/ # Database connection and Object-Relational Mapping (ORM)
│ └── schema/ # Modularized database schemas (users, products, sales, etc.)
│
├── hooks/ # Custom React hooks (e.g., useDebounce, etc.)
│
├── lib/ # Shared utilities and configurations
│ ├── auth/ # Authentication configuration
│ └── validators/ # Zod schema definitions for form and API validation
│
├── services/ # Business logic layer (interacts directly with the db)
│ ├── pos-service.ts
│ ├── inventory-service.ts
│ └── ...
│
└── store/ # Zustand global state management
app/actions/), and Business Logic (services/).db/ is isolated in the services/ folder ensuring code reusability.Install dependencies:
npm install
Set up environment variables:
Ensure you have a .env file configured with the required Database and Authentication variables.
Run database migrations (if required):
npx drizzle-kit push
Start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.