Skip to content

PartnersDatabaseApp ​

ARTTU Formula Student - Partner Management Dashboard

A Java Spring Boot application designed to manage, track, and visualize sponsorship data for the ARTTU Formula Student Racing Team (Cluj-Napoca).

Features

  • Data Management: Uses PostgreSQL to store partner companies and sponsorship packages.
  • User Authentication: Secure Login and Registration system with persistent user storage.
  • Dashboard Interface: - View all partners (Confirmed/Pending).
    • Filter partners by Season (2025, 2026).
    • Sort partners alphabetically automatically.
  • CRUD Operations:
    • Create: Add new partners via a modal popup.
    • Read: View detailed package info and amounts.
    • Delete: Remove partners with admin confirmation.

πŸ› οΈ Technology Stack ​

  • Language: Java
  • Framework: Spring Boot (Web, Thymeleaf)
  • Database: PostgreSQL (JDBC Connection)
  • Frontend: HTML5, CSS3, Thymeleaf Engine
  • Tools: Maven, IntelliJ IDEA, DBeaver

πŸ“‚ Project Structure src/main/java/com/arttu β”œβ”€β”€ ArttuApplication.java # Main entry point β”œβ”€β”€ PartnerController.java # Web Controller (routes) β”œβ”€β”€ Company.java # POJO / Entity class β”œβ”€β”€ CompanyDAO.java # Database Logic (CRUD) β”œβ”€β”€ User.java # User Entity β”œβ”€β”€ UserDAO.java # User Authentication Logic └── Database.java # DB Connection Singleton

src/main/resources β”œβ”€β”€ templates # HTML Views (index, login, register) β”œβ”€β”€ static/images # Assets (logo.svg) └── application.properties # Configuration

βš™οΈ Setup & Installation ​

  1. Clone the repository:
    bash
    git clone [https://github.com/your-username/arttu-dashboard.git](https://github.com/your-username/arttu-dashboard.git)
  2. Database Configuration:
    • Ensure PostgreSQL is running on port 5433 (or update Database.java).
    • Create a database named partnersdatabaseupdated.
    • The application will automatically handle table creation if configured, or run the provided SQL script.
  3. Run the App:
    • Open the project in IntelliJ IDEA.
    • Run ArttuApplication.java.
  4. Access the Dashboard:
    • Open browser: http://localhost:8080

πŸ”‘ Default Credentials ​

  • Username: admin
  • Password: admin

Project created for the ARTTU Cluj-Napoca Formula Student Team.

Released under the MIT License.