api/config/database.php
class Database{
// specify your own database credentials
private $host = 'localhost';
private $db_name = 'db_name';
private $username = 'db_user';
private $password = 'db_pass';
public $conn;
...