This project is a backend implementation for processing bike tracks and sensor data from the OpenSenseMap API. The system supports data retrieval, storage, and preprocessing for specific cities. The frontend for this project is available here (https://github.com/sitcomlab/iip-dash_2).
- Fetches and stores bike track and sensor data from the OpenSenseMap API.
- Supports data handling for multiple cities (e.g.,
ms,os). - Processes data into GeoJSON format grouped by daily intervals.
- Stores data in PostgreSQL using Django ORM.
- Runs efficiently in both local and Docker environments.
Before starting, ensure you have the following installed on your system:
- Python 3.8+
- Django
- Docker & Docker Compose
- Pipenv (optional but recommended for managing dependencies)
- Clone the Repository
- Set Up the virtual Environment
- Install Dependencies
pip install -r requirements.txt - Run the following commands to create and apply migrations:
python manage.py makemigrations python manage.py migrate python manage.py runserver - Or using docker:
docker-compose up --build
This project is licensed under the MIT License. See the LICENSE file for details.
- OpenSenseMap API
- Django Framework