Skip to content

shlokashah/drone_plus_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone++

Drone-based logistics is a very hot topic in research and has the potential to change the future of logistics and e-commerce. The project focuses on providing an interface through which a logistics operator can track the drones in motion. The proposed system is a Web App through which customers can place orders. Once an order is placed, the route planning algorithm will select a drone to service the needs based on factors like distance, battery level left, nearest charging station, etc.

Features:

  1. Real-time tracking of drones.
  2. Placing an order to be serviced by drones.

Architecture

The application uses a microservice architecture with three main services:

  • User :- Used for registering new users,authentication purposes,login,logout and getting user details.
  • Order :- Used for creating new orders.
  • Logistics :- Main Purpose of this service is scheduling of drones according to the location of order and warehouse.

For the purpose of communication between the frontend(client) and the services(server),we have an API Gateway.Since it's a microservice architecture the three services have independent databases.Websockets are used for real time updates to be shown from the server to the client.

Technology Stack

The Technology Stack used in the application is:

  1. Frontend : Angular 8
  2. User,Order,Logistics Service and API Gateway : Django Rest Framework
  3. Deployment : Kubernetes

Redis is used for showing real time tracking of drones to the frontend.

Code Structure

The code structure is as follows:

  • api
    1. user (user service)
    2. order (order service)
    3. logistics (logistics service)
    4. gateway (API Gateway)
  • frontend
    1. drone_plus_plus (frontend code)
  • deployments
    1. user (user deployments)
    2. order (order deployments)
    3. logistics(logistics deployments)
    4. gateway (gateway deployments)

Databases

Databases:

  • User Service : Postgres
  • Order Service : MySQL
  • Logistics Service : Postgres

Architecture Diagram

Demo of the Application