Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderooz/live-user-tracking-app
A real-time user tracking application that displays the locations of connected users on a map using Socket.io and Leaflet.js. This application captures users' geolocation data from their browsers and visualizes it on a map.
https://github.com/coderooz/live-user-tracking-app
ejs express js nodejs npm
Last synced: 19 days ago
JSON representation
A real-time user tracking application that displays the locations of connected users on a map using Socket.io and Leaflet.js. This application captures users' geolocation data from their browsers and visualizes it on a map.
- Host: GitHub
- URL: https://github.com/coderooz/live-user-tracking-app
- Owner: coderooz
- License: mit
- Created: 2024-07-22T03:23:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T05:45:40.000Z (5 months ago)
- Last Synced: 2024-07-23T04:43:31.103Z (5 months ago)
- Topics: ejs, express, js, nodejs, npm
- Language: JavaScript
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Live User Tracking App
![Realtime-tracker Screenshot](https://github.com/coderooz/live-user-tracking-app/blob/main/public/images/realtime-tracker%20screenshot.png)
A real-time user tracking application that displays the locations of connected users on a map using Socket.io and Leaflet.js. This application captures users' geolocation data from their browsers and visualizes it on a map.
## Features
- Real-time tracking of users' locations.
- Display users' locations on a map using Leaflet.js.
- Automatic updates of users' positions.
- Removal of disconnected users from the map.## Prerequisites
- [Node.js](https://nodejs.org/)
- [npm](https://www.npmjs.com/)## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/coderooz/live-user-tracking-app.git
cd live-user-tracking-app
```2. **Install dependencies:**
```bash
npm install socket.io express ejs
```3. **Run the application:**
```bash
node app.js
```5. **Open your browser:**
Navigate to `http://localhost:3000` to see the live user tracking in action.
## File Structure
```
project_folder
├── node_modules
├── public
│ ├── css
│ │ └── style.css
│ ├── js
│ │ └── script.js
├── views
│ └── index.ejs
├── app.js
└── package.json
```## Future Developments:
- Adding a log/storage feature.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Contributions
Contributions are welcome! Please follow the [Code of Conduct](CODE_OF_CONDUCT.md) and see the [Contributing Guidelines](CONTRIBUTING.md) for more details.