尚未检测到更新。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.