This is an Enterprise Resource Planning (ERP) system designed for managing inventory, sales, and finance. The system is built using Java, Spring Boot, and MySQL, providing a scalable and efficient solution for business resource management.
- Inventory Management: Track stock levels, purchases, and suppliers.
- Sales Management: Manage customer orders, invoices, and transactions.
- Finance Module: Handle accounts, payments, and financial reports.
- Role-Based Access: Admin, Manager, and Employee access control.
- RESTful APIs: Built using Spring Boot for seamless integration.
- Database Integration: Uses MySQL for storing business data.
- Backend: Java, Spring Boot
- Frontend: Next.js
- Database: MySQL
- Version Control: Git, GitHub
- Build Tool: Maven
- Security: JWT-based authentication
Ensure you have the following installed:
- Java JDK (17 or later)
- Maven
- MySQL Server
- Postman (for API testing, optional)
- Docker(or any other software for easier use)
git clone https://github.com/Ron1005/ERP.git
cd ERP- Create a MySQL database:
CREATE DATABASE erp_system;- Update
src/main/resources/application.propertieswith your MySQL credentials:
spring.datasource.url=jdbc:mysql://localhost:3306/erp_system
spring.datasource.username=root
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=update- Compile the project using Maven:
mvn clean install- Run the application:
mvn spring-boot:run- The application should now be running at
http://localhost:8080.
- The API endpoints are available at:
http://localhost:8080/api/{module}
- Swagger UI (if enabled) can be accessed at:
http://localhost:8080/swagger-ui.html
- Admin: Can manage users, inventory, and finances.
- Manager: Can handle orders and sales.
- Employee: Can view and process transactions.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name - Commit changes:
git commit -m "Add new feature" - Push to your fork:
git push origin feature-name - Open a Pull Request.