A simple phone book app.
This project requires the Grunt CLI
npm install -g grunt-cli
To clone the repo:
git clone https://github.com/pdee999/phonebook.git
To install the project:
npm install
To install bower:
npm install bower
To install dependencies:
bower install
==========================================================================
##Create database table
You will need to create a local site and SQL database and add a table using the following SQL statement:
CREATE TABLE contacts (
pb_Id AUTO_INCREMENT NOT NULL,
firstname TEXT NOT NULL,
lastname TEXT,
phone TEXT NOT NULL,
PRIMARY KEY(pb_Id),
UNIQUE(pb_Id)
)
==========================================================================
##Configuration
Update the server name, database name, username and password settings in the app/config.php file.
// database information
$servername = "localhost";
$username = "pdrittenhouse";
$password = "password";
$dbname = "phonebook";