A simple REST API-based contact list with a PHP slim framework.
- PHP 7.4 or Upper
- MySQL
- Composer
- Clone this repository via
git clone https://github.com/monzuralam/contact-hive.git
and entercontact-hive
. - Open the terminal & run the command
composer install
. - Copy
.env.sample
to.env
and provide database credentials. - Ensure the MySQL server / phpMyAdmin is running and create a database
contacts
. - Open the terminal & run the command
php migrate.php
. - Now, open php webserver by
php -S localhost:8000 -t public
. - Access in browser
localhost:8000
& openpostman
and make aget
requestlocalhost:8000
.