Skip to content

Real-Time Location Tracking - Spring Boot Mosquitto Mqtt Dockerized

Notifications You must be signed in to change notification settings

yoedtos/mqtt-example

 
 

Repository files navigation

Mosquitto MQTT - Spring Boot & Android & React JS Location Tracking App

The Project consists of 3 parts:

  • Backend: Java Spring Boot
  • Frontend: React JS
  • Mobile: Android Kotlin

Technologies

  • Spring Boot
  • Server Sent Events
  • Mosquitto MQTT Server
  • Redis

How to run ~project is completely dockerized

backend will work on port 8081 in docker and 8080 in localhost!

  git clone https://github.com/gurkanucar/mqtt-example

Please firstly run this maven command to get jar file:

  cd backend
  mvn clean package -DskipTests
  cd ..

if you want to run it on local

  docker-compose up --build --force-recreate -d

if you want to run it on server give your ip address as arg for frontend

  EC2_IP=<MACHINE_IP> docker-compose up --build --force-recreate -d

You can access the frontend from http://localhost:3000

! Don't forget to update the backend address in the mobile application.

Example Video

https://youtu.be/WXTXZTauM7A

Example Images

image

image

image

image

About

Real-Time Location Tracking - Spring Boot Mosquitto Mqtt Dockerized

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 39.1%
  • JavaScript 34.3%
  • Kotlin 18.9%
  • HTML 3.6%
  • CSS 2.6%
  • Dockerfile 1.5%