OTA Fleet Management - Backend API
This project hosts the ASP.NET Core Web API for the OTA Fleet Management System. It handles vehicle registration, group management, firmware uploads, and deployment orchestration.
Tech Stack
- .NET 9 / ASP.NET Core: High-performance web framework.
- Entity Framework Core: ORM for data access.
- SQLite: Lightweight database (configured for In-Memory for tests/demo, file-based for persistence).
Key Features
- Vehicle Management: Register vehicles, heartbeat tracking.
- Group Management: Organize vehicles into logical groups (e.g., "Beta", "Production").
- Firmware Repository: Upload and version firmware files.
- Deployment Logic: Assign updates to specific vehicles or entire groups.
- Object Cycle Handling: Configured to handle bidirectional relationships in JSON serialization.
Getting Started
-
Run the API:
dotnet runThe API listens on
http://localhost:5000(HTTP) andhttps://localhost:5001(HTTPS) by default. -
API Documentation: Navigate to
http://localhost:5000/swaggerto view the Swagger UI and test endpoints.
Project Structure
Endpoints/: Minimal API endpoint definitions.Data/: EF Core DbContext and Entities.Properties/launchSettings.json: Configuration for local development ports.
Description
Languages
C#
100%