Coder Social home page Coder Social logo

deshmukhmayur / diems-app-backend Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 42 KB

API for the DIEMS Application

Home Page: https://play.google.com/store/apps/details?id=org.diems.diemsapp

License: Apache License 2.0

PHP 100.00%
slim3 eloquent-orm json-api php

diems-app-backend's Introduction

DIEMS College App JSON API Service

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.

Built with:

  • Slim3 - a micro-framework for PHP
  • Eloquent - an ORM for PHP, developed by Laravel

Usage

For details on how to use this API and it's endpoints, refer to the wiki.

Installation

Requirements

The following components should be pre-installed:

  • A web server (Recommended: Apache)
  • PHP (Recommended: 7.x)
  • A Database Engine (Recommended: MariaDB / PostgreSQL)

Configuration

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' => '',
);

Running the server:

To run the development server

$ php -S 0.0.0.0:8880 -t public

Contributing

For details on contributing to this project read the CONTRIBUTING file.

License

This project is licensed under the Apache-2.0. See the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.