Skip to content

MohamedAboElM3aTy/car_user_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A mini Car Booking Management System.

A Car management System implemented by Flutter framework.

melos

Task:

  • My Task is to build two apps ... Admin & User apps.
  • I created the features as Flutter packages to be reusable in any project.
  • I used Melos to handle the mono repo logic and implement two apps in the same repo.
  • I used Supabase to handle authentication & handle validation [Admin or User]
  • I used Supabase as a backend server side to store & handle data.
  • User Can view available cars & can book them with a specific Date.
  • The Car can't be booked twice for the same date range.
  • Admin Can apply (CRUD) operations for the car.
  • Allow users to search for available cars.
  • Car Can't be booked twice at the same time.
  • Admin can view all booking history but user can view only his booking history.
  • If the admin deletes a car, all the related bookings will be canceled.
  • Reference booking_table to car_table using car_id as a foreign key.

Features 🎯

  • Melos - To Implement mono repos concept
  • Free & Open Source
  • Very Easy to use
  • Amazing UI
  • Animation using Custom Painter
  • Supabase Authentication (Login, Register & Logout)
  • Validation to not allowing users in any app to log to the other app
  • Supabase Storage
  • Cubit as State Mangement
  • Implement Features as a Flutter Packages.
  • The Admin can do (CRUD) operation on car_table.
  • The User Can manage bookings with filter Dates.
  • Search feature.
  • Hydrated bloc to cache the user state.
  • Cloud functions to trigger the car_table with booking_table.

Live Demos 📸

Admin App

Screen.Recording.2024-07-27.at.12.31.59.AM.mov

After user had booked

user.mov

User App

Screen.Recording.2024-07-27.at.12.34.46.AM.mov

Supabase snapshots

Screenshot 2024-07-27 at 12 38 45 AM Screenshot 2024-07-27 at 12 38 56 AM Screenshot 2024-07-27 at 12 39 02 AM Screenshot 2024-07-27 at 12 39 27 AM

You will notice here that each user is stored with his role [admin - user] and authorized access to which app based on his rule

Screenshot 2024-07-27 at 12 40 38 AM Screenshot 2024-07-27 at 12 40 49 AM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published