Mysql db stores todos of user, using ajax for GET/POST. Mysql needs connected before runing this app.
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 -
localhost/todo-jquery-php-mysql/includes/db-config.php
file and change constant DB_NAME, DB_USER, DB_PASSWORD, DB_HOSTAfter successful connection you can use follwing file to create a dummy database using follwing steps
/includes/dump-sql.php
and change sql quries as you want.localhost/todo-jquery-php-mysql/includes/dump-sql.php
To use local storage -
var useLocalStorage = true;
/js/app.js
and change variable useLocalStorage
value to true/false
.To run on local try with mamp/xampp/wamp/lamp...etc software
todo-jquery-php-mysql
folder in www/htdocs
web directorylocalhost/todo-jquery-php-mysql