Skip to content

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

License

Notifications You must be signed in to change notification settings

danilo-quattrini/software-engineering-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

software-engineering-project

Java Spring Boot Gradle PostgreSQL License

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.

Description

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

Setup

Requirements

  • JDK 21
  • PostgreSQL
  • Gradle 8.5 and after (if the web application is executed with the cli)

Clone repository

$ git clone https://github.com/danilo-quattrini/software-engineering-project.git
$ cd software-engineering-project

Configuration

Creating and connecting to a PostgreSQL DB

  • $ psql to enter PostgreSQL
  • $ \l to list all db
  • $ CREATE DATABASE {db_name}; to create a db
  • $ \du to 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
  • $ \d to see the relations inside a db
  • $ \d {table_name} to describe a table
  • $ SELECT * FROM {table_name} to retrieve all elemets from a table

Writing the application.properties file

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)

Build and run

$ ./gradlew build
$ ./gradlew bootRun

Team Members

Contributing

If you wish to contribute, please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT license.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •