This application allows you to manage your book library.
You arrive on the page that references all your books. You can then add a book, by selecting various information. You can also add an author, a publisher, a category and a location if they are not already present. Once the book is added, you can consult its page which includes all the information about it. You can also modify a book or delete it. Finally you will find on the page referencing all the books a search bar for titles, a set of filters and a sorting function.
- Clone the repo from Github.
- Run
composer install
. - Create config/db.php from config/db.php.dist file and add your DB parameters. Don't delete the .dist file, it must be kept.
define('APP_DB_HOST', 'your_db_host');
define('APP_DB_NAME', 'your_db_name');
define('APP_DB_USER', 'your_db_user_wich_is_not_root');
define('APP_DB_PASSWORD', 'your_db_password');
- Import database.sql in your SQL server, you can do it manually or use the migration.php script which will import a database.sql file.
- Run the internal PHP webserver with
php -S localhost:8000 -t public/
. The option-t
withpublic
as parameter means your localhost will target the/public
folder. - Go to
localhost:8000
with your favorite browser. - From this manage your library.
- Alexandre Grué
- Cécile Do Nascimento
- Maïwenn Beloy
- Olivier Gourdonneau
- Thomas Clarisse
- Romain Clair