Skip to content

imtushaarr/RealTimeTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Time Tracker App

REAL TIME TRACKER APP

The Real-Time Location Tracker is a web application built with React.js, Node.js, Express.js, Socket.io, and Leaflet. It enables real-time tracking of users’ locations on an interactive map. Users can see their own and others’ live locations as markers on the map, facilitating easy monitoring and coordination.

Features

Real-Time Location Updates: Users can share their current location, and the map updates in real-time to display their movements. Interactive Map: Utilizes Leaflet, an open-source JavaScript library, to provide a responsive and interactive map interface. Geolocation API: Integrates with the browser’s Geolocation API to fetch users’ current coordinates accurately. Socket.io Integration: Enables seamless real-time communication between the server and clients, ensuring instant updates of location data.

Technologies Used

Frontend:

  • React.js
  • Leaflet (for maps)
  • HTML5, CSS3, JavaScript (ES6+)

Backend:

  • Node.js
  • Express.js (for server-side routing and middleware)
  • Socket.io (for real-time WebSocket communication)

Other Tools

  • Git & GitHub (for version control and repository management)
  • VS Code (as the integrated development environment)

Demo Image

Screenshot 2024-07-07 at 21 46 49 Screenshot 2024-07-07 at 21 46 12

Installation

To run the Real-Time Location Tracker locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/imtushaarr/RealTimeTracker
cd RealTimeTracker
  1. Install dependencies for both the server and client:
# Install server dependencies
cd server
npm install

Install client dependencies

cd ../client
npm install
  1. Start the server and client development servers:
# Start the server (from the server directory)
npm start

Start the client (from the client directory)

npm start
  1. Open your web browser and navigate to http://localhost:3000 to view the application.

Usage

  • Upon launching the application, users are greeted with a map interface powered by Leaflet.
  • Users with geolocation enabled can see their live location as a marker on the map.
  • As users move, their marker updates in real-time for all connected clients.
  • Markers for other users are displayed, allowing for simultaneous tracking of multiple users.

Contributing

Contributions to the Real-Time Location Tracker are welcome! Here’s how you can contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Create a new Pull Request.

Contact

Feel free to reach out to us if you have any questions, feedback, or suggestions regarding the Real-Time Location Tracker project.