Fabric Managment System
Fabric Managment System
Frontend Components:
User Interface: Create React components for each user role (Account, Grey, Heat, Process, Finish,
Dispatch, Account Out).
Forms: Implement forms for data input (e.g., Account IN form, Dispatch form).
Search Filters: Implement search filters for Party Name, Challan Number, and Lot Number.
Admin Dashboard: Design an admin dashboard to manage users, qualities, party names, and view
reports.
2. Backend Components:
Express.js Server: Set up routes and controllers to handle CRUD operations.
MongoDB Database: Design schemas for Account, Grey, Heat, Process, Finish, Dispatch, Account Out
data.
Authentication and Authorization: Implement user authentication and authorization for admin tasks.
Business Logic: Implement logic for generating Lot Numbers, handling process workflows, and
managing data flow between different stages.
3. User Flows:
Account IN:
User submits data including Party Name, Quality, Challan Number, Kg, Meter, Role.
Grey:
User selects Party Name and enters Kg, Meter, Role for a selected Quality.
User selects Quality and enters Kg, Meter, Role for dispatch.
Account Out:
4. Admin Tasks:
User Management: Admin can register new users.
Data Management: Admin can add/edit qualities, party names, and access all tables for
editing/updating.
Reports:
Admin can view Grey Report, Pendency Report, Dispatch Report, and Party Sum Report.
5. Advanced Filtering:
Implement advanced filtering options in admin tables such as adding color, search, filtering between
dates, and filtering by name.
6. Additional Features:
Error Handling: Implement error handling for form submissions and backend operations.
Notifications: Notify users and admin about important events like completion of processes or rejection
of lots.
Security: Implement security measures to protect sensitive data and prevent unauthorized access.
fabric-management-system/
├── backend/
│ ├── config/
│ ├── controllers/
│ ├── middleware/
│ ├── models/
│ ├── routes/
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/