This is a simple Todo List application built with PHP and MySQL. It allows users to manage their tasks efficiently by adding, updating, and deleting tasks.
- User Authentication: Secure login and registration system to manage user access.
- Add Task: Users can add new tasks to their todo list with a task name, description, and status.
- Update Task: Users can update existing tasks to change the task name, description, and status.
- Delete Task: Users can delete tasks that are no longer needed.
- Task Status: Tasks can have different statuses such as Pending, In Progress, and Completed.
- Responsive Design: The application uses Bootstrap for a responsive and modern design.
- Pagination: Tasks are displayed with pagination to handle large lists efficiently.
- Task Count Widgets: Visual widgets to show the count of tasks by status (Pending, In Progress, Completed).
- Session Management: Secure session management to ensure user data is protected.
- PHP 7.0 or higher
- MySQL
-
Clone the repository:
git clone https://github.com/yourusername/Todo-list-with-php.git
-
Navigate to the project directory:
cd Todo-list-with-php
-
Import the database:
mysql -u username -p database_name < database.sql
-
Configure the database connection in
db.php
.
-
Start the PHP server:
php -S localhost:8000
-
Open your browser and go to
http://localhost:8000
.
To seed the database with demo data, follow these steps:
- Log in to the application.
- Access the
db_seed.php
script by navigating tohttp://localhost:8000/db_seed.php
. - The database will be seeded with demo data, and you will be redirected to the index page.
Contributions are welcome! Please open an issue or submit a pull request.
This application was designed and developed by:
- Asmaa El-Naggar
- Loka Shafik
- Hesham Yehia
Special thanks to Dr. Reham for her guidance and support throughout the project.
This project is licensed under the GPL-3.0 License. See the LICENSE file for details.