This Django-based project visualizes the historical locations of Swedish taxis on an interactive Google Map interface. The dataset used can be found here.
- User Registration and Authentication: Users can register, log in, and log out.
- Data Storage: Utilizes MongoDB for storing taxi location data and SQLite for user data.
- Google Maps Integration: Displays taxi locations on a Google Map.
- Filtering: Users can filter the taxi locations by time.
- Custom Markers: Different markers are used to represent two different taxis.
- Python 3.9
- Conda
- MongoDB
- Google Maps API Key
- Clone the repository:
git clone https://github.com/armankuyucu/taxi-tracker.git
- Change the directory:
cd taxi-tracker
- Install the required packages:
conda env create -f taxi_tracker.yml
- Activate the conda environment:
conda activate taxi-tracker
- Make migrations:
python manage.py migrate
- Start the application:
python manage.py runserver
- Open the app in your browser:
http://127.0.0.1:8000/
This application has unit tests, integration tests, and end-to-end tests. 22 tests are implemented in total.
To run the automated tests, execute the following command:
python manage.py test