This is an Address Book Web Application.
Features:
- Add Contacts
- Edit Contacts
- Delete Contacts
- View All Contacts
to clone the repository and install all required modules
>> git clone https://github.com/tonyYSaliba/Address-Book.git
>> cd address_book
>> composer install
Edit your .env file to configure your database
DATABASE_URL="mysql://db_user:[email protected]:3306/address_book_db"
to create the database and its tables
>> php bin/console doctrine:database:create
>> php bin/console make:migration
>> php bin/console doctrine:migrations:migrate
The application was developed using the Model-View-Controller (MVC) design pattern.
Tools used:
- Symfony 5
- Doctrine with MySQL
- Twig
- PHP 7
- SonarCloud (for code quality)
- PHPUnit and Xdebug (for unit testing and coverage)
- GIT
- Trello (for task management)
- GET
contact/
- Route to view All contacts
- GET | POST
contact/new
- Route to add a contact
- GET
contact/{id}
- Route to read a contact
- id is an integer and it is the id of a contact
- GET | POST
contact/{id}/edit
- Route to edit a contact
- DELETE
contact/{id}
- Route to delete a contact
- id is an integer and it is the id of a contact
- Table
CONTACT
- contains id, firt_name, last_name, street_address, zip_code, city, phone_number, birth_date, email_address, picture_url, country
PS: for more details please read DesignDocument.md