Skip to content

About

A parking management system built with Flutter and Firebase, featuring real-time parking session tracking, vehicle management, and user profiles. 🌟 Features πŸ” Authentication

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Firebase Parking System πŸš— A parking management system built with Flutter and Firebase, featuring real-time parking session tracking, vehicle management, and user profiles. 🌟 Featuresasdasd πŸ” Authenticationasdasdasd aaaa User registration and login with Firebase Auth Secure user sessions with automatic logout Profile management with personal informationasdasdaasdasdasdasda

πŸš— Vehicle Managemen

Register multiple vehicles per user in a day was a good day Support for different vehicle types (Car, Motorcycle, Truck, Van, Bus)asdasdkjkj Real-time vehicle data synchronization Edit and delete vehicle functionalitystyasd Maintance of Fise base Registration number validation to prevent duplicatesasd

πŸ…ΏοΈ Parking Systemasd

Start and end parking sessions in theated a lot of them and other Real-time parking space availability Automatic parking space status updates Duration tracking and fee calculation Support for hourly rates Prevent double parking (one vehicle per space)

πŸ“Š User Dashboard

Clean profile interface with user information be done Real-time vehicle list with management optionsasd Parking history with detailed session information done ma Active parking session indicatorsasdasdasd adam bitti Fee calculations and duration tracking

🎨 Modern UI/UX

Dark and light theme support Terminal-style dark mode with monospace fonts Material Design 3 components Responsive design for different screen sizes Clean expandable sections with smooth animationsasdasd

πŸ—οΈ Architectureasdsa This app follows Clean Architecture principles with clear separation of concerns:kjkjkjlklk lib/asdasd β”œβ”€β”€ core/ # Core utilities and errors β”‚ └── errors/ β”‚ └── failures.dartasdasdsa β”œβ”€β”€ data/ # Data layer β”‚ β”œβ”€β”€ datasources/ # Remote data lkklk link that in that was for β”‚ β”‚ β”œβ”€β”€ vehicle_remote_datasource.dart β”‚ β”‚ └── parking_data_source.dart β”‚ β”œβ”€β”€ models/ # Data models β”‚ β”‚ β”œβ”€β”€ vehicles/aaa β”‚ β”‚ β”œβ”€β”€ parking/ β”‚ β”‚ └── person/ β”‚ └── repositories/ # Repository implementations β”‚ └── vehicle_repository_impl.dart β”œβ”€β”€ domain/ # Business logic layer β”‚ β”œβ”€β”€ entities/ # Core business entities β”‚ β”‚ β”œβ”€β”€ vehicle_entity.dart β”‚ β”‚ └── parking_entity.dart β”‚ β”œβ”€β”€ repositories/ # Repository interfaces β”‚ β”‚ └── vehicle_repository.dart β”‚ └── usecases/ # Business use cases β”‚ β”œβ”€β”€ vehicles/ β”‚ └── parking/ └── presentation/ # UI layer β”œβ”€β”€ blocs/ # State managementta β”‚ β”œβ”€β”€ auth/ β”‚ β”œβ”€β”€ vehicle/ β”‚ └── parking/ └── screens/ # UI screens └── profile_screen.dart 🧩 Key Components

Entities: Core business objects (Vehicle, Parking, User) Repositories: Abstract interfaces for data operations Data Sources: Firebase Firestore integration BLoC Pattern: State management with flutter_bloc Use Cases: Individual business operations

πŸ› οΈ Tech Stack Frontend

Flutter - Cross-platform mobile framework flutter_bloc - State management material_design_icons_flutter - Icon library equatable - Value equality dartz - Functional programming utilities

Backend

Firebase Auth - User authentication Cloud Firestore - Real-time database Firebase Security Rules - Data access control

Architecture Patterns

Clean Architecture - Separation of concerns BLoC Pattern - Predictable state management Repository Pattern - Data abstraction Use Case Pattern - Business logic encapsulation

πŸ“± Screenshots Profile Screen

User information display Vehicle management section Parking history overview Dark/light theme toggle

Vehicle Management

Vehicle registration form Vehicle type selection Real-time vehicle updates Edit/delete functionality

Parking Sessions

Active parking indicators Duration and fee tracking Parking space management Session history

πŸš€ Getting Started now Prerequisites

Flutter SDK (3.0+) Dart SDK (3.0+) Firebase project setup Android Studio / VS Code

Firebase Configuration Firestore Collections users/{userId} β”œβ”€β”€ name: string β”œβ”€β”€ email: string β”œβ”€β”€ personalNumber: string └── createdAt: timestamp

vehicles/{vehicleId} β”œβ”€β”€ registration_number: string β”œβ”€β”€ type: string β”œβ”€β”€ owner_id: string └── created_at: timestamp

parking/{parkingId} β”œβ”€β”€ vehicle_id: string β”œβ”€β”€ parking_space_id: string β”œβ”€β”€ started_at: timestamp β”œβ”€β”€ finished_at: timestamp (nullable) └── hourly_rate: number

parking_spaces/{spaceId}

β”œβ”€β”€ space_number: string β”œβ”€β”€ status: string ('vacant' | 'occupied') β”œβ”€β”€ vehicle_id: string (nullable) └── hourly_rate: number

need a extra refinment for this project soon.

Made with ❀️ and Flutter

About

A parking management system built with Flutter and Firebase, featuring real-time parking session tracking, vehicle management, and user profiles. 🌟 Features πŸ” Authentication

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages