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
- Clone this repository and launch code:
git clone https://github.com/RahulGopathi/Cab-Management-System.git cd Cab-Management-System code .
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:
- The application on http://localhost:3000
- The API Server on http://localhost:8000
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
- 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