Skip to content

Latest commit

Β 

History

History
50 lines (39 loc) Β· 1.81 KB

File metadata and controls

50 lines (39 loc) Β· 1.81 KB

Location Tracker App

Javascript NodeJS MongoDB

Location Tracker App is a real-time web application to request, broadcast, and track active location streams using WebSockets, Node.js, and MongoDB. The application manages active tracking sessions and seamlessly visualizes real-world mapping points in real time.

✨ Features

  • Real-Time Websockets: Ultra-fast, bidirectional event-based communication utilizing ws.
  • Location Storage: All location requests are securely persisted and actively managed via MongoDB.
  • REST APIs: Full integration with backend routing controllers to handle user acceptances and map generations.

πŸ› οΈ Built With

  • Frontend Scripting: Vanilla JS interfacing closely with Socket APIs.
  • Backend Setup: Node.js, Express.js
  • Database Architecture: MongoDB cluster & Mongoose.

πŸš€ Getting Started

Prerequisites

  • Node.js (v18+)
  • Local or Cloud MongoDB Instance (e.g., MongoDB Atlas)

Setup & Installation

  1. Clone the repository:

    git clone https://github.com/2k33cse992574/location-tracker.git
    cd location-tracker
  2. Install dependencies:

    npm install
  3. Setup environment variables: Copy carefully crafted .env.example to your own .env configuration file to prevent secrets from leaking into Git.

    cp .env.example .env

    Edit .env to insert your MongoDB connection URI and running Port.

  4. Launch the application:

    npm start

πŸ“ License

This project is open-source.