/address-book-2.0

create address book in silex to save contact information for friends and family. Display pages using twig.

Primary LanguageHTML

Address Book

An Epicodus exercise in object-oriented PHP | June 30, 2017

By Max Scher

Description

This web application allows a user to enter and store information for all of their contacts in a web-based address book.

Setup

  • Open GitHub site on your browser: https://github.com/maxobaxo/address-book-2.0
  • Select the green dropdown menu to clone this repository.
  • Copy the link for the GitHub repository.
  • Open Terminal on your computer.
  • In Terminal, perform the following steps:
    • type 'cd desktop' and press enter
    • type 'git clone' then paste the repository link, and press enter
    • type 'cd address-book-2.0' to access the path on your computer
    • type 'composer install' in terminal to download dependencies
    • type 'cd web' to enter the web folder
    • type 'php -S localhost:8000' to open local server
  • In your browser, enter the url 'localhost:8000' to view the webpage.
  • Enter in contact information for a person you know to begin adding names to your address book.

Specifications

  • It can save information for a new contact entered by a user.
  • It can display information for most recently created contact.
    • Example Input: first name: Max, last name: Scher, phone: 545-202-4325
    • Example Output: "Max Scher, 545-202-4325"
  • It can display all saved contacts on the homepage URL ('/').
  • It can delete all saved contacts, should the user desire.

Languages Used

PHP, HTML, Twig, JSON

License Information

This web application is licensed under the MIT license.

Copyright © Max Scher 2017