A real-time Live Location Tracking Application built using Node.js, Express, Socket.IO, MongoDB, and EJS.
This project tracks and displays live user locations on a map using WebSockets for real-time communication.
- Real-time location tracking using Socket.IO
- Live updates without page refresh
- Map-based location visualization
- Backend powered by Express and MongoDB
- Simple and clean UI using EJS templates
- Node.js
- Express.js
- MongoDB
- Mongoose
- Socket.IO
- dotenv
- EJS (Embedded JavaScript Templates)
- HTML
- CSS
- JavaScript
git clone https://github.com/VISHRUT86/Location_Tracker.git
cd Location_Tracker
npm install
Create a .env file in the root directory and add:
MONGO_URI=your_mongodb_connection_string
npm start
- Uses Socket.IO for bi-directional communication
- Automatically updates user locations on the map
- Supports multiple connected users simultaneously
- Understanding real-time communication with Socket.IO
- Practical experience with Express and MongoDB
- Working with WebSockets in Node.js
- Template rendering using EJS
- Handling live data updates efficiently
- Add user authentication
- Improve UI with modern frontend framework
- Store location history
- Deploy on cloud (Render / Railway / AWS)
- Add mobile support
Contributions are welcome.
Feel free to fork this repository and submit pull requests.
Vishrut Bharti
GitHub: https://github.com/VISHRUT86