https://github.com/suthar345piyush/realtime-tracker
An real time tracker on the map , with the perfect location of two things , built using Nodejs , Expressjs , socket.io , openstreetmap & Leaflet.
https://github.com/suthar345piyush/realtime-tracker
backend ejs expressjs leaflet nodejs openstreetmap-data socket-io webdevelopment websocket
Last synced: 3 months ago
JSON representation
An real time tracker on the map , with the perfect location of two things , built using Nodejs , Expressjs , socket.io , openstreetmap & Leaflet.
- Host: GitHub
- URL: https://github.com/suthar345piyush/realtime-tracker
- Owner: Suthar345Piyush
- Created: 2025-01-06T13:32:14.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T13:55:33.000Z (5 months ago)
- Last Synced: 2025-01-06T14:48:17.085Z (5 months ago)
- Topics: backend, ejs, expressjs, leaflet, nodejs, openstreetmap-data, socket-io, webdevelopment, websocket
- Language: JavaScript
- Homepage:
- Size: 2.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Realtime-Tracker
An real time tracker on the map, with the perfect location of two things, built using Node.js, Express.js, socket.io, OpenStreetMap & Leaflet.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)## Introduction
Realtime-Tracker is a web application that allows users to track the real-time location of two different entities on a map. It leverages WebSockets for real-time updates and integrates with OpenStreetMap and Leaflet for map rendering.
## Features
- Real-time location tracking
- Interactive map with OpenStreetMap and Leaflet
- Node.js and Express.js for the backend
- WebSockets using socket.io for real-time updates## Technologies Used
- **Node.js**: JavaScript runtime built on Chrome's V8 JavaScript engine.
- **Express.js**: Fast, unopinionated, minimalist web framework for Node.js.
- **socket.io**: Enables real-time, bidirectional and event-based communication.
- **OpenStreetMap**: Collaborative project to create a free editable map of the world.
- **Leaflet**: Open-source JavaScript library for mobile-friendly interactive maps.
- **EJS**: Embedded JavaScript templating.
- **CSS**: Cascading Style Sheets for styling.## Installation
To run this project locally, follow these steps:
1. Clone the repository:
```sh
git clone https://github.com/Suthar345Piyush/Realtime-Tracker.git
cd Realtime-Tracker
Install the dependencies:2. npm install
3. Start the server:
4. npm start
5. Open your browser and navigate to http://localhost:3000.
-> Usage:
Once the server is running, open your browser and navigate to http://localhost:3000. You will see the map with the real-time location of the two entities being tracked.-> Contributing:
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please create an issue or submit a pull request. Follow these steps to contribute:-> Fork the repository.
Create a new branch.
Make your changes.
Submit a pull request.-> License
This project is licensed under the MIT License. See the LICENSE file for more information.