https://github.com/alpha74/pdratingsystem
Backend system for Passengers and Drivers to rate each other implemented in Django and HTML.
https://github.com/alpha74/pdratingsystem
django django-rest-framework html rating-system
Last synced: 10 months ago
JSON representation
Backend system for Passengers and Drivers to rate each other implemented in Django and HTML.
- Host: GitHub
- URL: https://github.com/alpha74/pdratingsystem
- Owner: alpha74
- Created: 2020-09-20T15:42:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T13:09:48.000Z (over 5 years ago)
- Last Synced: 2025-01-16T04:41:26.133Z (12 months ago)
- Topics: django, django-rest-framework, html, rating-system
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Passenger Driver Rating System
This repo contains only the backend part of passenger driver rating system.
Bare HTML is used for demonstration.
### Features
- Driver can rate passengers.
- Passenger can rate drivers.
- Driver can view its aggregate rating.
- Passegner can view its aggregate rating.
### Used
- Python
- Django
- SQLite
### Run
- Create virtual env from `requirements.txt`.
- Change current path to dir, and run `python manage.py runserver`.
- Open url `localhost:8000/` in web browser.
### Structure:
- Contains models for `Driver` and `Passenger`.
- Contains views to:
- Rate the driver
- Rate the passenger
- View aggregate rating of driver
- View aggregate rating of passenger
### Demo object names(for this project):
- `Driver` : driver1, driver2, driver3, driver4, driver5
- `Passenger` : pass1, pass2, pass3, pass4, pass5
- Initially all have a rating of `3.5`.