Skip to content

Live map tracker – See multiple users’ locations in real-time on a responsive web app built with Node.js, Express, Socket.io, and Leaflet.js.

Notifications You must be signed in to change notification settings

fattahniz/realtime_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 Real-Time Location Tracker

A real-time location tracking web app where multiple users can share and see live locations on an interactive map. Built with Node.js, Express, Socket.io, and Leaflet.js, fully responsive for desktop and mobile.

✨ Features

🌐 Real-time location sharing for multiple users

🗺 Interactive map with Leaflet.js & OpenStreetMap

📍 Dynamic markers for each user

🔄 Automatic marker updates as users move

❌ Marker removal when user disconnects

📱 Responsive design for all devices

🚀 Easy deployment on free platforms (Replit, Render, Vercel, Fly.io)

🛠 Tech Stack

Frontend: HTML, CSS, JavaScript, Leaflet.js

API: OpenStreetMap

Backend: Node.js, Express, EJS, Socket.io

Installation

  1. Clone the repo
   git clone https://github.com/fattahniz/realtime_tracker.git
cd realtime_tracker
npm i
npm start

📂 Project Structure

project/
│
├─ backend/
│   ├─ src/
│   │   ├─ controllers/   # Future controllers for handling logic
│   │   ├─ routes/        # Future route files
│   │   ├─ sockets/       # Socket logic
│   │   └─ server.js
│   ├─ view/
│   │   └─ index.ejs
│   ├─ package.json
│   └─ package-lock.json
│
├─ frontend/
│   ├─ css/
│   │   └─ style.css
│   ├─ js/
│   │   └─ index.js
│   └─ index.html
│
├─ docs/
│   └─ steps.yaml
│
└─ README.md

🤝 Contributing

Fork the repository

  1. Create a new branch (feature/my-feature)
  2. Commit changes
  3. Push branch and create a Pull Request

📄 License

This project is licensed under the MIT License – see the LICENSE file for details.

About

Live map tracker – See multiple users’ locations in real-time on a responsive web app built with Node.js, Express, Socket.io, and Leaflet.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published