Skip to content

Ankitaghavate/Ambulance-Tracking-System.

Repository files navigation

🚑 CareWise AI – Ambulance Tracking System

CareWise AI – Ambulance Tracking System is a web-based application designed to reduce emergency medical response time by enabling real-time ambulance tracking and route optimization using geolocation services and web technologies.

The system allows users to request the nearest available ambulance and helps administrators manage ambulance data efficiently.


🎯 Problem Statement

In emergency medical situations, delays in locating and dispatching ambulances can result in critical consequences. Existing systems often lack real-time tracking and optimized routing, leading to slower response times.


💡 Solution Overview

CareWise AI provides:

  • Real-time visualization of ambulance locations on a live map
  • Fast and optimized routing to user locations
  • Centralized ambulance and request management

🛠️ Technology Stack

Frontend

  • HTML
  • CSS

Backend

  • PHP
  • MySQL
  • Apache (XAMPP)

API & Tools

  • Google Maps API
  • XAMPP (Local Server)

⚙️ System Architecture

  1. User logs into the system
  2. User requests an ambulance by providing location
  3. System fetches ambulance data from the database
  4. Google Maps API displays live ambulance locations
  5. Shortest route is calculated and shown
  6. Admin manages ambulance and user information

✨ Features

  • 🚨 Real-time ambulance tracking
  • 🔐 Secure user and admin authentication
  • 📍 Nearest ambulance detection
  • 🗺️ Live map and route optimization
  • 🧑‍💼 Admin dashboard for management
  • 📱 Responsive web interface

🧪 Testing

  • Unit testing of login, tracking, and database modules
  • Integration testing between frontend, backend, and database
  • User acceptance testing for usability and accuracy

⚠️ Challenges Faced

  • Google Maps API integration
  • Handling multiple database requests
  • Ensuring responsive UI across devices

Solutions

  • Followed official API documentation
  • Optimized database queries
  • Implemented responsive CSS techniques

🚀 Future Enhancements

  • Mobile application support (Android & iOS)
  • AI-powered route optimization using traffic data
  • Multi-language interface
  • Extension to other emergency services

🚀 Getting Started

Follow these instructions to get the project up and running on your local machine.

1. Prerequisites

  • XAMPP (Apache & MySQL)
  • Web Browser (Chrome, Firefox, etc.)

2. Move Project to XAMPP

Copy the project folder to your local XAMPP directory:

  • Path: xampp/htdocs/

3. Start Server

  1. Open the XAMPP Control Panel.
  2. Start Apache.
  3. Start MySQL.

4. Database Setup

  1. Open phpMyAdmin (http://localhost/phpmyadmin).
  2. Create a new database (e.g., ambulance_tracking).
  3. Click the Import tab and upload the provided .sql file from the project root.

5. Run the Project

Open your browser and navigate to:

http://localhost/carewise-ai-ambulance-tracking/


📂 Project Structure

Based on the current development environment:

CAREWISE-AI/
├── images/               # Project image assets
├── src/                  # Source files and logic
├── ambtracker.html       # Ambulance tracking interface
├── driver.html           # Driver portal
├── hospital.html         # Hospital management dashboard
├── index.html            # Main landing page
├── login_db.php          # Database login logic
├── login.html            # Login interface
├── manage.html           # Admin/Management panel
├── package-lock.json     # Node.js dependencies lock
├── roles.html            # Role selection page
├── script.js             # Main JavaScript logic
├── sign_in.php           # User sign-in process
├── sign_up.php           # User registration process
├── signin_db.php         # Sign-in database connection
├── user-map.html         # Live map for users
└── user.html             # User profile/dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published