This Supply Chain Management System is a robust TypeScript-based application designed to streamline business operations, including order management, customer tracking, supplier relationship management, and financial reporting.
- Authentication and authorization
- Role-based access control (USER, ADMIN)
- Customer profile tracking
- Order history
- Contact information management
- Supplier registration and tracking
- Material and inventory management
- Supplier performance rating
- Multiple order types
- Order status tracking
- Job-linked and customer-linked orders
- Order cost tracking
- Import and export functionality
- Comprehensive financial logs
- Backend: Node.js, Express.js
- Language: TypeScript
- ORM: Prisma
- Database: PostgreSQL
- Authentication: JWT
- PDF Generation: PDFKit
- Node.js (v16+)
- PostgreSQL
- npm or yarn
- Clone the repository
git clone https://github.com/yourusername/supply-chain-management.git
cd supply-chain-management
src/
├── controllers/ # Business logic
├── middleware/ # Express middleware
├── routes/ # API route definitions
├── services/ # Additional services
└── server.ts # Main application entry point
prisma/
└── schema.prisma # Database schema definition
🔐 Authentication
The system uses JWT for authentication with two primary roles:
USER: Standard access
ADMIN: Full system access
📊 Reporting
Supports comprehensive financial and operational reporting with:
Import logs
Order tracking
Supplier performance metrics
🤝 Contributing
Fork the repository
Create your feature branch (git checkout -b feature/AmazingFeature)
Commit your changes (git commit -m 'Add some AmazingFeature')
Push to the branch (git push origin feature/AmazingFeature)
Open a Pull Request
📜 License
Distributed under the MIT License. See LICENSE for more information.
Hello this is a trigger for git for railway.