Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzilinassim/todo-list-php
manage tasks effectively, and work smoothly.
https://github.com/mzilinassim/todo-list-php
crud css html mysql php sql
Last synced: 6 days ago
JSON representation
manage tasks effectively, and work smoothly.
- Host: GitHub
- URL: https://github.com/mzilinassim/todo-list-php
- Owner: mziliNassim
- Created: 2024-03-10T20:17:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-10T21:22:56.000Z (10 months ago)
- Last Synced: 2025-01-01T22:16:03.664Z (6 days ago)
- Topics: crud, css, html, mysql, php, sql
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo List
## Introduction
Todo list web application is easy to use, help you manage tasks effectively, and work smoothly.
## Technologies
- html / css
- php
- mySQL
## DB Operations
-
`users` :
- Create new user "login"
- Check user exist "register"
-
`tasks` :
- Create new task "INSERT"
- Delete exist task "DELETE"
- Update exist task "Update"
- Insert tasks in page UI "SELECT"
- Set task to a specific user
## Usage
1. Lance server `XAMPP` `WAMP` `MAMP` ...
2. Create Database "todo_app"
```sql
CREATE DATABASE todo_app;
use todo_app;
```
3. Create mySQL Tables `users` && `tasks`
```sql
CREATE TABLE users(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(255) NOT NULL,
pass VARCHAR(255) NOT NULL
);
CREATE TABLE tasks(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
user VARCHAR(255) NOT NULL,
task VARCHAR(255) NOT NULL,
finish BOOLEAN NOT NULL
);
```
4. Config youn db connection `./db/connect.php`
```php
$USERNAME = "YOUR_USERNAME"; // "root"
$PASSWORD = "YOUR_PASSWORD"; // ""
```
5. Lance the app in `localhost/index.php`