项目作者: plkpiotr

项目描述 :
ERP-MES |使用@patsaf创建的RESTful Web服务
高级语言: Java
项目地址: git://github.com/plkpiotr/erp-mes-backend.git
创建时间: 2018-07-17T17:49:08Z
项目社区:https://github.com/plkpiotr/erp-mes-backend

开源协议:MIT License

下载


ERP-MES (Back-end)" class="reference-link">ERP-MES (Back-end)

Overview ›››

Back-end layer of RESTful web service created as engineering thesis by @patsaf and @plkpiotr.

ERP-MES is intended for management of a forwarding company.

The application was equipped with features typical of Enterprise Resource Planning and Manufacturing Execution System.

Back-end technologies ›››

  • Java 8
  • Spring Framework (MVC, Security, Data JPA)
  • Spring Boot (Mail, Websocket)
  • JSON Web Token
  • JUnit
  • Lombok
  • Hibernate
  • PostgreSQL 9
  • Maven 4
  • Heroku

ERP features ›››

Staff management

The company staff is divided into managers and employees, each of whom is the application’s user. In their own profile, each user can, for example, submit holiday requests. Managers can approve such requests for their subordinates. Basic contact (and contract - although only for the logged in user) information may be found in a user’s profile.

erp1

Delivery and warehouse management

Keeping track of the items stored in the warehouse. Automatic generation of recommended deliveries, based on customer demand and lean management principles. All online store operations (orders, complaints, returns) are immediately reflected on the warehouse state.

Finance management and reporting

Storing, updating and analysing all the company’s financial operations. Automatic generation of monthly reports. Financial estimates for a given period of time (by default: month), which are calculated based on data gatheres by previous reports.

erp2

Production planning

Monitoring if the amount of work planned for a given day does not exceed the assumed daily plan and if so - notifying the person responsible. Possibility to introduce special production plans. Making sure all orders, complaints and returns are resolved without delays.

erp3

Mailbox

Automatic generation of first login password and sending it via e-mail when registering a new user. Automatic notifications of order/complaint/return status change sent to customers. Possibility of e-mail communication between the company and its customers.

erp4

MES features ›››

Key Performance Indicators

Evaluation of the work-in-progress expressed in mean times, number of tasks and suggestions by category - for one employee and the whole team.

kpi

Instant Messenger

Providing communication between employees in real time and documenting time and author’s initials.

chat

Kaizen Teian

Employee suggestion system with possibility of searching records.

suggestions

Kanban Board

Visualization of tasks created in the last four weeks for one person.

kanban

Task scheduling algorithm

Planning and reduction of total time allowed for tasks through scheduling algorithm.

task

Security ›››

  • Only registered users can acces the application.
  • Access is granted based on the JWT token sent as request header.
  • Upon first login attempt, a first login password is used and the user needs to set their own password.
  • Each request is filtered by Spring Security mechanisms and access to given resources is granted based on the user’s role in the company.

Project structure ›››

  1. └────src
  2. ├───main
  3. ├───java
  4. └───com
  5. └───herokuapp
  6. └───erpmesbackend
  7. └───erpmesbackend
  8. ├───communication
  9. ├───config
  10. ├───controller
  11. ├───dto
  12. ├───factory
  13. ├───model
  14. ├───repository
  15. ├───request
  16. └───service
  17. ├───exceptions
  18. ├───production
  19. ├───controller
  20. ├───dto
  21. ├───factory
  22. ├───model
  23. ├───repository
  24. ├───request
  25. └───service
  26. ├───security
  27. ├───shop
  28. ├───controller
  29. ├───factory
  30. ├───model
  31. ├───repository
  32. ├───request
  33. └───service
  34. └───staff
  35. ├───controller
  36. ├───dto
  37. ├───factory
  38. ├───model
  39. ├───repository
  40. ├───request
  41. └───service
  42. └───resources
  43. └───db
  44. └───changelog
  45. └───test
  46. └───java
  47. └───com
  48. └───herokuapp
  49. └───erpmesbackend
  50. └───erpmesbackend
  51. └───erpmesbackend
  52. └───controllers

Example local configuration ›››

application.properties file:

  1. spring.datasource.url=jdbc:postgresql://localhost:5432/erpmes
  2. spring.datasource.username=postgres
  3. spring.datasource.password=postgres1
  4. spring.jpa.hibernate.ddl-auto=create

Front-end repository ›››

Find front-end repository on Github: plkpiotr/erp-mes-frontend

Heroku platform ›››

Check out ERP-MES: erp-mes-backend.herokuapp.com and erp-mes-frontend.herokuapp.com.

Visit both of the links. First of them launches back-end layer and the database (if it is inactive) while the second contains front-end layer with login form.

Then use one of the following data:

Email: patrycja@erp-mes.pl

Password: haslo123

or

Email: piotr@erp-mes.pl

Password: haslo123