Course Conclusion Work - Systems Development.
Free, is a web application made in PHP on an MVC framework, which allows people to donate books they no longer need.
- PHP >= 8
- Git
- Composer >= 2
- Preferably Mariadb, but you can opt for others, because the project uses PDO by default.
git clone https://github.com/isadays/livre.git
/*
* Substitute for your localhost corresponding to your project folder
* */
const ROOT = "http://localhost/livre/";
/*
* Name of the site
* */
const SITE = "Livre";
/*
* Config you data
* */
const DATA_LAYER_CONFIG = [
"driver" => "mysql",
"host" => "localhost",
"port" => "3306",
"dbname" => "livre",
"username" => "root",
"passwd" => "",
"options" => [
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8",
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ,
PDO::ATTR_CASE => PDO::CASE_NATURAL
]
];
In path "/migrations", you can find the migration data of the project.
You can run it on your favorite database
composer install
Now just access your project's URL.
Example: