Warranty Tracking
Manage product warranties with automatic expiration tracking and notifications
Comprehensive backend API for managing product warranties, claims, and customer communication

Install and run the MyWarranties backend in minutes:
# Clone the repository
git clone https://github.com/yourusername/mywarranties-backend.git
cd mywarranties-backend
# Install dependencies
composer install
# Configure environment
cp .env.example .env
# Edit .env with your settings
# Setup database
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
# Start the server
symfony server:start# Get JWT token
curl -X POST http://localhost:8000/api/login \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","password":"password"}'
# Create a warranty claim
curl -X POST http://localhost:8000/api/claims \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"productId":1,"description":"Product malfunction"}'| Feature | Description |
|---|---|
| Products | Track warranties with purchase dates and expiration |
| Claims | Interactive warranty claims with messaging |
| Send and receive emails via Resend webhook | |
| Notifications | Push notifications and email alerts |
| OCR | AI-powered receipt scanning with Claude |
| Real-time | Live updates via Mercure |
| Roles | Customer, Supplier, and Admin access levels |
| Testing | 40+ tests with pre-commit hooks |
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Mobile ββββββΆβ REST API ββββββΆβ Database β
β App β β (Symfony) β β (MySQL) β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β
ββββββββΆ Resend (Email)
ββββββββΆ Firebase (Push)
ββββββββΆ Mercure (WebSocket)
ββββββββΆ Claude AI (OCR)MyWarranties is open-source software licensed under the MIT license.