Skip to content

Meikelele/my-fuel-pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyFuelPal - v2

"MyFuelPal" is an application to track your hisotry of refulling, allows you to assign the fuelnote to vehicle.

This is the second version of MyFuelPal, built using a different tech stack — notably switching to a different database and utilizing the Spring Boot framework along with Spring Security and JWT-based authentication.

Tech Stack

HTML5 CSS3 SASS JavaScript React

Docker MariaDB Springboot Springsecurity

Installation

Clone the repository

git clone https://github.com/Meikelele/my-fuel-pal.git

Go to the proper directory

cd MyFuelPal

Run docker-compose

docker-compose up --build -d

Functionalities

  • Add your car
    Add your vehicle to your account
  • Add your fuel note
    Add and manage fuel notes for your car
  • Overview dashboard
    View all your vehicles and fuel notes in one place
  • Customize your profile
    Change your profile avatar and personal information
  • Account settings
    • Change email
    • Change username
    • Change password
    • Clear all cookies

Demo Desktop & Mobile

Opera Zrzut ekranu_2025-04-22_144139_localhost

Sign up

Zrzut ekranu 2025-04-22 o 14 44 32

Login

Zrzut ekranu 2025-04-22 o 14 44 45

Home page

Zrzut ekranu 2025-04-22 o 14 44 54

Adding a car

Zrzut ekranu 2025-04-22 o 14 45 56

Adding a fuelnote

Zrzut ekranu 2025-04-22 o 14 46 47

Home page again

Zrzut ekranu 2025-04-22 o 14 46 57 Zrzut ekranu 2025-04-22 o 14 48 35 Zrzut ekranu 2025-04-22 o 14 48 17

Your profile

Zrzut ekranu 2025-04-22 o 14 47 05 Zrzut ekranu 2025-04-22 o 14 48 42

Settings

Zrzut ekranu 2025-04-22 o 14 47 12 Zrzut ekranu 2025-04-22 o 14 48 47

Database description

One-to-Many Relationship between Vehicles and Fuelnotes:

  • vehicles table has a primary key id.
  • fuelnotes table has a foreign key vehicle_id referencing the id in the vehicles table.
  • This implies that one vehicle can have multiple fuelnotes.

One-to-Many Relationship between Users and Vehicles:

  • Users table has a primary key id.
  • Vehicles table has a foreign key is_user referencing the id in the vehicles table.
  • This implies that one user can be associated with multiple vehicles.

One-to-One Relationship between Users and Role:

  • users table has a primary key id.
  • roles table has a foreign key user_id referencing the id in the users table.
  • This implies that each user has a unique role, forming a one-to-one relationship.

ERD DIAGRAM

ERD ERD_MFP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors