Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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`