Skip to content

RahulGopathi/Cab-Management-System

Repository files navigation

Cab Management System

An application with react and django for cab management system

The features of this app include:

  • UI for user to book the cab
  • Backend Algorithms for booking the cab
  • Auth for user
  • Communication using REST API
  • Uses django celery to update the cab location in realtime (for fake data)
  • This is a solution to the case study: Link
  • The demo video of this app can be found here: Link

Steps to run locally

  • Clone this repository and launch code:
    git clone https://github.com/RahulGopathi/Cab-Management-System.git
    cd Cab-Management-System
    code .
    

With Docker

Ensure that you have installed Docker (with Docker Compose).

Run the development server: make dev-start

After executing make dev-start, you will be running:

Make database migrations:

make exec
python manage.py makemigrations
python manage.py migrate

Create a superuser:

make exec
python manage.py createsuperuser

View logs of docker containers:

make dev-logs

To stop the development server:

make dev-stop

Without Docker

  • Copy .env.example to .env
cp .env.example .env
  • To start your frontend and backend development server individually:

    Follow the Backend Readme to setup your backend server

    Follow the Frontend Readme to setup the frontend server

About

A sharing cab management system with django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published