/car-aggregator

WebApp, Search engine for vehicle auctions from Copart and IAAI

Primary LanguagePython

car-aggregator Coverage Status

WebApp, Search engine for vehicle auctions from Copart and IAAI

Technology Stack

Technology Role
Python Backend Language
Django & DRF Backend framework
Angular Frontend framework
Celery background task & async mechanism for Django
Scrapy webscraping framework
Scrapyd deploying scrapy spiders and manage them by JSON API
PostgreSQL RDBMS
Redis Manage Celery Task & Cache some endpoints

Thanks to Celery Beat, scheduling tasks can be done in Django Admin by intervals or cron syntax

Generate self-signed certificate

Command to generate self-signed certificate

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ~/car-aggregator/frontend/nginx/nginx-selfsigned.key -out ~/car-aggregator/frontend/nginx/nginx-selfsigned.crt;

.env or env.dev files should be located inside backend directory

SECRET_KEY=<SECRET_KEY>
DJANGO_DEBUG=<DEBUG> # 0 for production, 1 for development
EMAIL_HOST_USER=<EMAIL_ACCOUNT>
EMAIL_HOST_PASSWORD=<EMAIL_PASSWORD>