Code Monkey home page Code Monkey logo

address-book's Introduction

SonarCloud

Maintainability Rating Reliability Rating Security Rating Lines of Code Coverage Duplicated Lines (%)

Bugs Code Smells Technical Debt Vulnerabilities

Address Book

Introduction

This is an Address Book Web Application.

Features:

  • Add Contacts
  • Edit Contacts
  • Delete Contacts
  • View All Contacts

Installation Instructions

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

Architecture

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)

Controller Routes

  • 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

Database

  • 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

Screenshots

'View all' Screenshot


'View all' Screenshot


'View Contact' Screenshot


'Edit Contact' Screenshot

Task Management ~ Kanban board

'Kanban board' Screenshot

address-book's People

Watchers

Tony Saliba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.