This project is an online taxi booking platform designed to provide a seamless experience for riders and drivers. Built with Django Rest Framework and React.js, it offers a robust backend and a dynamic frontend. Users can book rides, manage trips, and interact within a secure environment.
- Django Rest Framework: Provides robust APIs for backend operations.
- React.js: Powers the frontend for a dynamic and interactive user experience.
- Mapbox API: Integrated for advanced mapping functionalities.
- Tailwind CSS: Ensures a sleek, responsive, and modern UI design.
The application uses JSON Web Tokens (JWT) for secure user authentication and interaction across the platform.
- User Roles: Separate interfaces and functionalities for riders and drivers.
- Ride Booking: Easy and efficient ride booking process.
- Trip Management: Manage current and past trips with ease.
- Map Integration: Visualize and navigate routes using the Mapbox API.
Follow these steps to set up and run the project:
-
Clone the Repository:
- Clone this repository to your local machine.
-
Backend Setup:
- Navigate to the backend directory.
- Install the necessary dependencies using Django Rest Framework.
- Run database migrations.
- Start the backend server.
-
Frontend Setup:
- Navigate to the frontend directory.
- Install the required dependencies using React.js.
-
Configuration:
- Configure your Mapbox API keys to enable mapping functionality.
-
Run the Application:
- Start both the backend and frontend servers.
- Begin exploring the features of the application!
-
Navigate to the backend directory:
cd backend
-
Install dependencies:
pip install -r requirements.txt
-
Apply database migrations:
python manage.py migrate
-
Start the backend server:
python manage.py runserver
-
Navigate to the frontend directory:
cd ../frontend
-
Install dependencies:
npm install
-
Start the frontend development server:
npm run dev
Now you are ready to use the Online Taxi Booking Web Application, Taxista.