Skip to content

MahdiJDS/Esnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸš– Esnap – Ride Sharing App (C# WinForms + MySQL)

A full-featured ride-hailing desktop application inspired by Snapp. Built with C# (WinForms) for the frontend and MySQL as the backend database.


✨ Facilities

  • User Management πŸ‘€

    • Passenger & Driver registration and login
    • Full profile with details (username, email, gender, health status, birth date, etc.)
    • Profile editing
  • Passenger Panel πŸ§‘β€βœˆοΈ

    • Profile management
    • View all trips (current, past, canceled)
    • Apply discounts and use wallet
    • Request, cancel, or rate trips
    • Access support (complaints, gratitude, requests)
  • Driver Panel πŸš–

    • Profile management
    • View assigned trips
    • Accept or cancel trips
    • Update trip status (in-progress, completed)
    • Manage discounts and services
  • Admin Panel πŸ› οΈ

    • Manage passengers and drivers
    • Oversee trips and system activity
    • Handle complaints, requests, and cancellations
    • Define and assign discount codes
    • Full support system with chat, rating, complaints, and gratitude
  • Trip Management 🚘

    • Create different types of trips (ride, van, freight, delivery, etc.)
    • Manage trip status (pending, ongoing, completed, canceled)
    • Support for requests, cancellations, and feedback
  • Wallet System πŸ’°

    • Recharge passenger wallet
    • Payment methods: wallet, online, or cash
    • Show balance and transactions
  • Complaints, Requests & Gratitude πŸ“’πŸ™

    • Submit complaints, requests, and gratitude messages
    • Admin manages and responds
    • Resolution status (open/resolved)
  • Chat Bot & Messaging πŸ€–πŸ’¬

    • Built-in chatbot for quick support
    • Messaging between Admin, Driver, and Passenger
    • Show full conversation history
  • Rating System ⭐

    • Submit ratings and comments after trips
    • Auto-calculate average rating with SQL Trigger
    • Display each user’s average rating in the admin panel
  • Discount Management 🎟️

    • Define discount codes by admin
    • Assign discounts to specific passengers
    • Usage limits and expiration date support

πŸ› οΈ Tech Stack

  • Language: C# (.NET Framework, WinForms)
  • Database: MySQL
  • Architecture: Multi-form structure with role-based access control

βš™οΈ Database Design (ERD)

  • Passengers / Drivers (user info)
  • Trips (ride details)
  • Complaints / Requests / Gratitude (feedback system)
  • Ratings (with SQL trigger for average rating)
  • Messages (support chat + chatbot)
  • Wallet (balance and transactions)
  • Discounts (codes and assigned passengers)

πŸš€ Setup Instructions

  1. Clone the repository:

    git clone https://github.com/MahdiJDS/Esnap.git
  2. Open Esnap.sln in Visual Studio.

  3. Import the database into MySQL:

    source Database/Tables.sql;
    ...
  4. Update your database connection string in Database.cs:

    string connection = "server=localhost;user=root;password=yourpass;database=esnap;";
  5. Run the project πŸŽ‰


🀝 Contributing

Pull requests and suggestions are always welcome.


πŸ“ License

This project is licensed under the MIT License.


About

A full-featured ride-hailing desktop application inspired by Snapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages