initial project setup with README and ignore

This commit is contained in:
2026-04-08 15:13:42 +05:30
commit 2d5688cb35
47 changed files with 7929 additions and 0 deletions

26
app/core/constants.py Normal file
View File

@@ -0,0 +1,26 @@
"""API constants and configuration."""
# API Configuration
API_VERSION = "2.0.0"
API_TITLE = "Route Optimization API"
API_DESCRIPTION = "Professional API for delivery route optimization"
# Route Optimization Limits
MAX_DELIVERIES = 50
MIN_DELIVERIES = 1
# Coordinate Validation
MIN_LATITUDE = -90
MAX_LATITUDE = 90
MIN_LONGITUDE = -180
MAX_LONGITUDE = 180
# Algorithm Types
ALGORITHM_GREEDY = "greedy"
ALGORITHM_TSP = "tsp"
# Response Messages
MESSAGE_SUCCESS = "Route optimized successfully"
MESSAGE_VALIDATION_ERROR = "Request validation failed"
MESSAGE_INTERNAL_ERROR = "An unexpected error occurred"