This is a Flask-based ride-sharing application that allows users to register as customers or drivers, book trips, and interact through chat functionality. The application includes essential features such as user authentication, trip management, and payment processing.
- User Registration: Separate registration forms for customers and drivers.
- Login System: Secure login functionality for both user types.
- Trip Booking: Customers can book trips by providing pickup and drop-off locations and pickup time.
- Driver Management: Drivers can view assigned trips.
- Real-time Chat: Integrated chat functionality using Flask-SocketIO.
- Payment Processing: Securely handle payment data.
- Python 3.8+
- Flask
- Flask-SocketIO
- Flask-WTF
- Flask-Login
-
Clone the repository:
git clone https://github.com/https://github.com/sathyagnanou/Uber-clone.git
-
Navigate to the project directory:
-
Run the application:
python app.py
- Register as a customer or driver.
- Login with your credentials.
- For customers:
- Book a trip by entering pickup and drop-off locations and pickup time.
- For drivers:
- View assigned trips and manage bookings.
- Use the chat feature to communicate in real-time.
- Process payments securely through the app.
The application uses SQLite for storing user and trip data. The following databases are created during initialization:
- Users Database: Stores customer information.
- Drivers Database: Stores driver information.
- Trips Database: Stores trip details.
- Flask: Backend framework for web application.
- SQLite: Lightweight database for data storage.
- Flask-SocketIO: Real-time communication using WebSockets.
- WTForms: Form handling and validation.
- Flask-Login: User authentication.


