The API Service for the College App of DIEMS, Aurangabad. It provides database handling and other back-end functionality for the Android App and the upcoming Web App.
For details on how to use this API and it's endpoints, refer to the wiki.
The following components should be pre-installed:
- A web server (Recommended: Apache)
- PHP (Recommended: 7.x)
- A Database Engine (Recommended: MariaDB / PostgreSQL)
Clone this Repository:
$ git clone https://github.com/deshmukhmayur/diems-app-backend.git
Install the dependencies:
$ php composer.phar install
After cloning the repository, you need to create a new directory config/
in the root and add a settings.php
file in it containing your database and credentials. For eg.
// config/settings.php
$settings = array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'database',
'username' => 'username',
'password' => 'password',
'collation' => 'utf8_general_ci',
'prefix' => '',
);
To run the development server
$ php -S 0.0.0.0:8880 -t public
For details on contributing to this project read the CONTRIBUTING file.
This project is licensed under the Apache-2.0. See the LICENSE file for details.