This project is a team-based task management application developed as part of a university group assignment. Built using Java and leveraging the Spring Boot framework for the backend.
The project consists of a marketplace selling goods from an agricultural supply chain, such as typical products and bundles of food.
Various actors are involved, each representing the following roles in the platform:
- Producer
- Transformer
- Distributor
- Trustee
- Entertainer
- Buyer
- Admin
- JDK 21
- PostgreSQL
- Gradle 8.5 and after (if the web application is executed with the cli)
$ git clone https://github.com/danilo-quattrini/software-engineering-project.git
$ cd software-engineering-project$ psqlto enter PostgreSQL$ \lto list all db$ CREATE DATABASE {db_name};to create a db$ \duto see the roles$ GRANT ALL PRIVILEGES ON DATABASE "{db_name}" TO {user_name}(give also all privileges to user postgres)$ \c {db_name}to connect to a db$ \dto see the relations inside a db$ \d {table_name}to describe a table$ SELECT * FROM {table_name}to retrieve all elemets from a table
See the app/resources/application.properties.example file to see the configuration of the application.
A postgre database is recommended.
The project is also compatible with h2.
Specify the db driver.
Use secured as security profile.
After everything is setup, delete example from app/resources/application.properties.example (app/resources/application.properties)
$ ./gradlew build
$ ./gradlew bootRunIf you wish to contribute, please fork the repository and create a pull request with your changes.
This project is licensed under the MIT license.