/priority-project

Primary LanguagePHPApache License 2.0Apache-2.0

Overview

Priority is designed to provide rapid access to medical data and emergency information through a unique code, enhancing the treatment process in emergency situations. This platform stores essential medical information and emergency contacts, accessible only through a unique code provided to each user.

Preview

Features

  • Secure Medical Data Storage: Users can securely store their medical information, including allergies, current treatments, and chronic conditions.
  • Emergency Team Access: Emergency teams (Firefighters, Police, EMT) can access a user's medical information during an emergency using a unique code.
  • User and Emergency Team Interfaces: Separate access points for regular users and emergency personnel.

Built With

  • Bootstrap - for responsive UI design
  • PHP - backend scripting
  • MySQL - database management
  • XAMPP - local server simulation

Getting Started

To set up your local development environment and run Priority, follow these steps:

Prerequisites

  • PHP 7.4 or higher
  • MySQL
  • XAMPP (optional, for local development)

Installation

  1. Clone the repository:
    git clone https://github.com/MarcoVmG/priority-project.git
  2. Set up a MySQL database using the schema provided in schema.sql.
  3. Configure your database connection details in include/db.php.
  4. Start your XAMPP server and navigate to the project directory.

Usage

  • Normal User: Log in using the credentials (email: tester@test.com, password: password123) to experience the user interface.
  • Emergency Personnel: Use the credentials (email: firedep.emergency@priority.com, password: emergency) to access emergency user information.

License

Distributed under the Apache License, Version 2.0. See LICENSE for more information.

Contact

Acknowledgements

  • Font Awesome for icons
  • Bootstrap for CSS frameworks
  • PHP for server-side scripting