ParkVision is an advanced analytics dashboard designed for monitoring parking statistics and customer segmentation. This repository contains the backend code for ParkVision, handling data processing, storage, and AI analytics.
- Data Management: Handles large volumes of parking and customer data.
- AI Analytics: Processes data using machine learning algorithms to generate insights.
- API Services: Provides RESTful APIs for frontend integration.
- Email Notifications: Sends alerts to users.
- Dockerized Deployment: Simplified setup and deployment using Docker.
- Python: Main programming language for backend development.
- Django: High-level Python web framework for rapid development.
- PostgreSQL: Database management system for storing and managing data.
- Docker: Containerization platform for consistent environments.
- Celery: Asynchronous task queue/job queue for running background tasks.
- Flower: Used as a message broker for Celery.
- Redis: In-memory data structure store used for backend data caching.
Ensure you have the following installed:
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/BE-Project-Parkomate/parkvision-backend
cd parkvision-backend
- Create env file:
Create a .env file in the project folder with the following fields:
DB_NAME = <db_name>
DB_USER = <db_user>
DB_PASS = <db_password>
DB_HOST = <db_host>
DB_PORT = <db_port>
EMAIL = <email>
EMAIL_PASSWORD = <email_app_password>
- Build/Start docker images:
./run.sh start-dev
- Migrate the project:
./run.sh interactive-dev
python manage.py migrate
- Stop docker images:
./run.sh stop-dev