Skip to content

The Taxi App is a cutting-edge transportation management system, streamlining user sign-up/log-in, real-time trip tracking, and efficient communication between drivers and riders. This app revolutionizes and optimizes the taxi service experience for both providers and users.

Notifications You must be signed in to change notification settings

shakori999/taxi-app

Repository files navigation

taxi-app

Table of Contents

Introduction

This is a taxi app built using Django Rest Framework, PostgreSQL, and Redis. The app allows users to sign up, log in, request trips, and view trip details. There are separate functionalities for riders and drivers.

important info: when clone this repo go to completed tests branch to see the best version of this code so far

Testing

Alt Text Alt Text Alt Text Alt Text Alt Text

Authentication

  • Can sign up.
  • Cannot visit the sign-up page when logged in.
  • Can log out.
  • Show invalid fields on sign-up error.
  • Can log in.
  • Cannot visit the login page when logged in.
  • Cannot see links when logged in.
  • Shows an alert on login error.

Navigation

  • Can navigate to sign up from home.
  • Can navigate to log in from home.
  • Can navigate to home from sign up.
  • Can navigate to log in from sign up.
  • Can navigate to home from log in.
  • Can navigate to sign up from log in.

Rider Dashboard

  • Displays current and completed trips.
  • Can be visited if the user is a rider.
  • Cannot be visited if the user is not a rider.
  • Displays messages for no trips.
  • Can request a new trip.
  • Shows details about a trip.

Driver Dashboard

  • Displays current, requested, and completed trips.
  • Can be visited if the user is a driver.
  • Cannot be visited if the user is not a driver.
  • Displays messages for no trips.
  • Shows details about a trip.
  • Can receive a ride request.

Trip Status Updates

  • Can receive trip status updates.

How to Build Taxi App on Your Machine

Follow these steps to build and run the Taxi App locally on your machine.

Prerequisites

Clone the Repository

git clone <https://github.com/shakori999/taxi-app.git>
cd taxi-app

Build and Run the Backend with Docker

docker-compose up --build -d
docker-compose exec taxi-app python manage.py makemigrations
docker-compose exec taxi-app python manage.py migrate

Build and Run the Frontend

cd client
pnpm installe 

to run Frontend tests

npx cypress open

About

The Taxi App is a cutting-edge transportation management system, streamlining user sign-up/log-in, real-time trip tracking, and efficient communication between drivers and riders. This app revolutionizes and optimizes the taxi service experience for both providers and users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published