mohandere / todo-jquery-php-mysql

Todo App using jquery, php, mysql
4 stars 1 forks source link

ToDo app using jQuery, php, Mysql/browser local storage

demo

Mysql db stores todos of user, using ajax for GET/POST. Mysql needs connected before runing this app.

DB Schema -

Create an empty database first like say todos and then you can generate dummy data by running file localhost/todo-jquery-php-mysql/includes/dump-sql.php in your browser as mentinoned below -

Tables

  1. user (id, first_name, last_name, email)
  2. todo (id, user_id, title, completed, date_time)

DB connection

To create dummy db -

After successful connection you can use follwing file to create a dummy database using follwing steps

Local Storage instead of DB

To use local storage -

To run app

To run on local try with mamp/xampp/wamp/lamp...etc software

Credit