This is a Medication Reminder application that helps users to manage and track their medication schedules. The app provides secure user authentication with OTP-based registration and login. Users can add medications and receive timely reminders.
- User Registration and Login: Secure authentication with OTP verification.
- Medication Management: Add, view, and manage your medications.
- Responsive UI: User-friendly and responsive interface.
- Email Integration: Sends OTP to users via email during registration.
- Session Management: Secure sessions for logged-in users.
- PHP: Server-side scripting language.
- MySQL: Database management.
- PHPMailer: For sending emails.
- OTPHP: For generating and verifying OTPs.
- HTML/CSS: For frontend design and UI/UX.
- PHP 7.4 or later
- MySQL
- Composer (for managing PHP dependencies)
-
Clone the repository:
git clone https://github.com/zahrashahrooeii/med-rem.git
-
Navigate to the project directory:
cd medication-reminder-app
-
Install the dependencies:
composer install
-
Set up the database:
- Create a MySQL database.
- Import the
db.sql
file located in thedatabase
directory.
-
Configure the environment:
- Copy the
config.php
file from thesrc
folder and update it with your database credentials. - Update the PHPMailer credentials in the
register.php
file.
- Copy the
-
Run the application:
- Start your local PHP server and navigate to the application in your browser.
- Register: Navigate to
/public/register.php
to register a new user. - Login: Navigate to
/public/login.php
to log in. - Dashboard: After logging in, manage your medications on the dashboard.
Contributions are welcome! Please feel free to submit a Pull Request or open an issue if you find any bugs.
If you have any questions, feel free to reach out.
- Email: [email protected]
- GitHub: https://github.com/zahrashahrooeii