This is a simple command-line application for managing users, doctors, and checkup schedules.
- PHP installed on your machine
- Composer installed (https://getcomposer.org/)
-
Clone the repository:
git clone https://github.com/mrriyous/cli-app.git
-
Navigate to the project directory:
cd cli-app -
Install dependencies using Composer:
composer install
-
Open cli-app.php change database details:
$this->pdoWrapper = new PDOWrapper('localhost', 'database', 'root', 'password');
-
Open migration.php change database details and run the migration:
php migration.php
Run the command-line app using PHP:
php cli-app.php