A simple real-time location tracking app built with Node.js, Socket.IO, Leaflet.js, and EJS.
This app tracks multiple users' live geolocation and displays them on a map with custom colored markers.
- 📡 Real-time location tracking with multiple users
- 📍 Unique colored markers for each user
- 🧠 Marker color persists even after reloads
- 🌍 Uses browser GPS and Socket.IO WebSockets
- 🎯 Leaflet.js for clean, interactive maps
- 🧩 Easily extendable with additional features like user names, labels, etc.
- Node.js + Express.js
- Socket.IO for real-time communication
- Leaflet.js for interactive maps
- EJS Templating for views
- HTML/CSS/JS for frontend
Make sure you have Node.js installed. You can download it from here.
- Clone the repository:
git clone https://github.com/Sanket3yoProgrammer/Realtime_Trackr.git cd Realtime_Trackr
- Install dependencies:
npm install
- Start the app:
npx nodemon app.js
- Open http://localhost:3000 in your browser. You can open multiple tabs or devices to see real-time updates.
- 📝 Add user names above the markers
- 🧑🤝🧑 Show a connected user list
- 💬 Implement chat feature for users to talk while tracking
- 📱 Integrate with mobile apps for cross-platform support
- 🛠️ Enhance backend with user session store
This project is open-source and available under the MIT License.
Inspired by real-time tech and location-based apps.