This is the backend component of a UAV (Unmanned Aerial Vehicle) Mission Planning System. It provides REST APIs to calculate total distance, fuel usage, and time required based on coordinates sent from a client application.
- 🧮 Calculate total mission distance using latitude and longitude waypoints
- ⛽ Estimate fuel consumption based on distance
- ⏱ Calculate total estimated mission time
- 🐳 Dockerized for portability and ease of deployment
| Component | Technology |
|---|---|
| Language | Go (Golang) |
| APIs | REST |
| Deploy | Docker |
Sure! Here's a small and clean section for the frontend preview you can include at the end of the README:
Although this repository only contains the backend, here’s a quick glimpse of how the frontend looks when integrated with this API:
| Mission Planner UI |
|---|
![]() |
![]() |
![]() |
![]() |
Frontend is developed separately using React and Leaflet. 🔗 Frontend : https://github.com/KaroK365/UAV-mission-frontend
-
Clone the repo:
git clone <repo-url> cd uav-mission-backend
-
Build the Docker image:
docker build -t uav-backend . -
Run the container:
docker run -p 8080:8080 uav-backend
-
Access the API:
http://localhost:8080/api/calculate
Boilerplate code and calculation logic were initially generated using AI tools. Final logic integration, Dockerization, and testing were done manually.
This project is intended for educational purposes only.



