How aashishnandakumar/mirapay-backend works
Main Components
a. Frontend Layer:
• Two separate frontend applications:
• User Information Collection Portal
• Smart Invoice Generator Portal
• To the backend via REST APIs
b. Backend Layer (Django):
• Core Application (FacePay)
• Main Application Module (FacePayApp)
• Authentication & Authorization
• API Endpoints
• Utility Services:
• Email Service
• SMS Service
• Payment Processing
• Facial Recognition System
c. Database Layer:
• SQLite Database (as indicated by db.sqlite3)
• Main data models from FacePayApp/models.py
d. External Services Integration:
• Payment Gateway Integration
• Cloud Storage for Facial Data
• Communication Services (Email/SMS)
Component Relationships
• Frontend → Backend API communication
• Backend → Database operations
• Backend → External Services connections
• Utility Services interconnections
Architectural Patterns to Highlight
• Django's MVT (Model-View-Template) pattern:
• Models (FacePayApp/models.py)
• Views (FacePayApp/views.py)
• URLs (routing layer)
• RESTful API architecture (shown by serializers.py)
• Containerization (Docker support)
Infrastructure Layer
Docker container architecture:
• Docker Compose services
• Network isolation
• Database persistence
• Application container
Key Features to Emphasize
• Facial Recognition System
• Wallet Integration
• Consumer Analytics
• Security Measures
• Payment Processing
Remember to include the project's USP elements and show how the architecture supports the key features mentioned in the README, such as swift checkout, security, and personalized shopping experiences.