Skip to content

A real-time device tracker application that uses geolocation to track and display the user's location on a map. Built with Node.js, Express, Socket.io, and Leaflet.js, it features high accuracy geolocation, dynamic map updates, and user disconnection handling.

License

Notifications You must be signed in to change notification settings

aloukikjoshi/Realtime-Device-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 Realtime Device Tracker

📜 Description

This project is a real-time device tracker that uses geolocation to track the user's location and display it on a map. The application uses Node.js, Express, Socket.io, and Leaflet.js to achieve this functionality.

✨ Features

  • 📍 Real-time location tracking
  • 🎯 High accuracy geolocation
  • 🗺️ Dynamic map updates
  • 🔌 User disconnection handling

🛠️ Technologies Used

  • 🟢 Node.js
  • 🚀 Express
  • 📡 Socket.io
  • 🗺️ Leaflet.js
  • 📝 EJS (Embedded JavaScript templates)

📦 Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/Realtime-Device-Tracker.git
  2. Navigate to the project directory:
    cd Realtime-Device-Tracker
  3. Install the dependencies:
    npm install

🚀 Usage

  1. Start the server:
    npx nodemon .\app.js
  2. Open your browser and navigate to http://localhost:3002 (or the port you have configured).

📂 Project Structure

  • app.js: Main server file.
  • views/index.ejs: HTML template for the application.
  • public/js/script.js: Client-side JavaScript for geolocation and socket communication.
  • public/css/style.css: Styles for the application.
  • steps.yaml: Rough steps and procedures for the project. This file was used for reference while creating the project, so don't try to make a lot of sense out of it.

📄 License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

A real-time device tracker application that uses geolocation to track and display the user's location on a map. Built with Node.js, Express, Socket.io, and Leaflet.js, it features high accuracy geolocation, dynamic map updates, and user disconnection handling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published