The server side of a system for the management of multiple repair shops. The system provides:
- User authentication and authorization
- Inventory management,
- Control and overview of a single repair,
- Chat system using Spring Websocket,
- Exporting PDFs using the collected data,
- User Logs and statistics.
- Spring Boot 3.0.2
- Gradle
- Java 17
- Postgres
Install JDK 17 or above from here.
The following environment variables need to be set prior to running:
db-url: The postgres db url (example :jdbc:postgresql://localhost:5432/hatfield)db-username: The username of the user for the databasedb-password: The password of the user for the databasejwtSecret: a random (32 or 64 characters long) key needed for the jwt encryptionencryptorSecret: a random (32 or 64 characters long) key needed for the user details encryptionfe-host: The url, this website is hosted (example :http://localhost:9000)output-dir: The folder which the service will save and read files from