| Name | Student ID | |
|---|---|---|
| Brahim Kanouche | [email protected] | 8879715 |
| Emmanuel Asinyo | [email protected] | 8890676 |
| Sébastien Sanscartier | [email protected] | 6978470 |
- A book store website to sell the pdf and hardcopies best seller and new coming books.
- The website will allow the user to browse for books, add them to chart and check out.
We will be using these colors as our primary one through the whole website. With Black or white test.

We will be using those colors as our secondary color palette
| scale category | font | size | case |
|---|---|---|---|
| H1 | Light | 96 | Sentence |
| H2 | Light | 60 | Sentence |
| H3 | Regular | 48 | Sentence |
| H4 | Regular | 34 | Sentence |
| H5 | Medium | 24 | Sentence |
| H6 | Regular | 20 | Sentence |
| body | Regular | 16 | Sentence |
| p | Regular | 16 | Sentence |
| button | Medium | 14 | All caps |
Main font type used is: Arial
- Login as an existing user.
- Sign up as a new user.
- Display list of book.
- Browse per categorie.
- Search feature for books ( per title or per author ).
- Display Book info
- Sort books by price or discount.
- Add to chart.
- Check out.
We will be using these colors as our primary one through the whole website. With Black or white test.

We will be using those colors as our secondary color palette
| scale category | font | size | case |
|---|---|---|---|
| H1 | Light | 96 | Sentence |
| H2 | Light | 60 | Sentence |
| H3 | Regular | 48 | Sentence |
| H4 | Regular | 34 | Sentence |
| H5 | Medium | 24 | Sentence |
| H6 | Regular | 20 | Sentence |
| body | Regular | 16 | Sentence |
| p | Regular | 16 | Sentence |
| button | Medium | 14 | All caps |
Main font type used is: Arial
- HTML5
- CSS3
- Javascript
- PHP
- SQL
- PHP Unit
Please follow those instruction to set up your local work environment. (To be added)
Please follow those instruction to set up your local machine.
- Download xampp: https://www.apachefriends.org/download.html
- Find and open
php.iniin xampp file. For mac : Open your XAMPP application andpress starton thegeneraltab. After that go into theVolumestab, and clickmount. Once it is mounted navigate click theexplorebutton and it will open you thelamppfolder, where all your application/apache related files are located. - Add those lines to the end in your
php.ini.- For mac:
extension=pgsql.so - For windows:
extension=php_pdo_pgsql.dllandextension=php_pgsql.dll
- For mac:
- Pull this repository to your machine and make sure to locate at xampp/htdocs
- For mac: from the
lamppfolder navigate toetc>extra>httpd-xampp.conf. Open this file and in the sectionSince xampp 1.4.3change theRequire admintoRequire all granted - Open in your browser
http://localhost:8080/phpmyadmin/and clickNewat the left Navigator to create a new database. (name= DatabaseName,uft code= utf8_unicode_ci) - once
DatabaseNamecreated, navigate to your project location, usually onc:\xampp\htdocs\BookStoreand importbookstore.sql - Then ignore the error that shows up After clicking
Go.
- Open xampp and go to manage servers and start
ApacheandMySQLweb server. - Open
dbconnect.phpand modify it. - To find where is your
localhost/password, please follow step
- Step 1:
- Locate phpMyAdmin installation path.
- Step 2:
- Open phpMyAdmin>config.inc.php in your favourite text editor.
- Step 3:
- $cfg['Servers'][$i]['auth_type'] = 'config';
- $cfg['Servers'][$i]['user'] = 'root';
- $cfg['Servers'][$i]['password'] = '';
- $cfg['Servers'][$i]['extension'] = 'mysqli';
- $cfg['Servers'][$i]['AllowNoPassword'] = true;
- $cfg['Lang'] = '';
- navigate to http://localhost/BookStore/ and you are all set :D
N.B: if you created a new folder named example to pull the repository to it, make sure to add the name of the folder in your URL (e.g: http://localhost/example/BookStore/)
Unit tesiting: For the unit testing we used Composer (v1.9.3) and PHPUnit (v9.0)
Installing composer on windows/osx is different and you can find extra information on how to install it here: https://getcomposer.org/doc/00-intro.md Theses commands will install composer globally on your machine, and can be used by any of your project.
- For mac, type in terminal:
curl -sS https://getcomposer.org/installer | php - rename it to composer for ease of use:
mv composer.phar /usr/local/in/composer composer init
composer require phpunit/phpunit
To run the tests in the tests folder, run ./vendor/bin/phpunit tests from inside your project.










