pdrittenhouse / phonebook

A simple phonebook app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phonebook

A simple phone book app.

Getting Started

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";

About

A simple phonebook app


Languages

Language:PHP 52.3%Language:JavaScript 33.9%Language:HTML 9.6%Language:CSS 4.2%