Your peace of mind every mile.
A modern auto insurance management system designed for the Ecuadorian market.
AutoGuardEC is a comprehensive vehicle insurance management platform that allows users, agents, and administrators to interact with policies, customers, and claims through a centralized dashboard. It was designed to optimize insurance workflows for the Ecuadorian automotive sector, combining data-driven insights, secure storage, and intuitive interfaces.
- π§Ύ Policy Management: Create, update, and track insurance policies.
- π₯ Customer Records: Manage client data with relational database integrity.
- βοΈ Claims Handling: Log, review, and approve claims efficiently.
- π Analytics Dashboard: Interactive charts and metrics using Flask + Chart.js.
- π Secure Access: Role-based login for customers, employees, and admins.
- πͺπ¨ Localized Design: Built for Ecuador's auto insurance standards and workflows.
graph TD
Client[Frontend (Bootstrap 5 / HTML / JS)] -->|REST API| Server[Backend (Flask)]
Server -->|SQLAlchemy ORM| DB[(Database MySQL 8)]
| Layer | Technology |
|---|---|
| Backend | Python 3.10+, Flask, Flask-SQLAlchemy |
| Database | MySQL 8 (Dockerized) |
| Frontend | HTML5, CSS3, Bootstrap 5, Chart.js |
| Containerization | Docker, Docker Compose |
| Tools | VS Code, Postman, GitHub |
You can run AutoGuardEC using Docker Compose (recommended) or set it up locally for development.
This method sets up both the application and the database in containers.
-
Clone the repository
git clone https://github.com/brdenky/AutoGuardEC.git cd AutoGuardEC -
Start the services
docker-compose up --build
- The database will be initialized with
CarInsuranceDB. - The web app will start on port
5000.
- The database will be initialized with
-
Access the application Open http://localhost:5000 in your browser.
Run the Flask application locally while hosting the database in Docker.
-
Clone and Setup Python Environment
git clone https://github.com/brdenky/AutoGuardEC.git cd AutoGuardEC python -m venv venv # Activate Virtual Environment # Windows: venv\Scripts\activate # Linux/Mac: source venv/bin/activate
-
Install Dependencies
pip install -r requirements.txt
-
Start the Database Use Docker Compose to start only the database service.
docker-compose up -d db
This exposes MySQL on
localhost:3308. -
Configure Environment Create a
.envfile in the project root logic (optional, as defaults are set inconfig.py):FLASK_APP=app.py FLASK_ENV=development # Database Configuration (Matches docker-compose.yml ports) DB_HOST=localhost DB_PORT=3308 DB_USER=root DB_PASSWORD=123 DB_NAME=CarInsuranceDB
-
Run the Application
flask run
Access at http://localhost:5000.
| Method | Endpoint | Description |
|---|---|---|
GET |
/policies |
Retrieve all insurance policies |
POST |
/customers |
Add a new customer |
PUT |
/claims/<id> |
Update claim status |
DELETE |
/employees/<id> |
Remove employee record |
Run unit tests with:
pytestOr use the Postman collection available in /tests/postman_collection.json.
Mateo Pilaquinga
Computer Science Student β Yachay Tech University
π§ mateo.pilaquinga@yachaytech.edu.ec
π LinkedIn
Harolt Farinango
Computer Science Student β Yachay Tech University
π§ harolt.farinango@yachaytech.edu.ec
π LinkedIn
- Integrate JWT Authentication for role-based access
- Add email notifications for policy renewals
- Implement OCR for automatic claim document scanning
- Deploy to AWS EC2 with Nginx reverse proxy
This project is licensed under the MIT License β see the LICENSE file for details.
Made with β€οΈ by the AutoGuardEC Team
π Your peace of mind every mile.





