Skip to content

dmd-web-and-mobile/foodbank

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
September 21, 2017 11:27
December 6, 2016 23:38
November 6, 2016 20:16
April 13, 2017 18:02
March 23, 2017 17:19

Foodbank

Rules Engine and API for Feeding America / Foodbank Project. PHP and MySQL.

API

Everything is located in the /api directory. You will need composer installed.

The entire API runs from index.php. This way everything routes to http://foodbankurl.com/api/.

Propel was used to generate the ORM. The ORM lives under:

/api
  /generated-classes  # All of the main ORM classes used in our application.
  /generated-conf     # Configuration for the ORM
  /generated-sql      # Explicit creation queries for our DB structure.

The Routing is handled through the routes folder, and are Slim routes.

Development

cd api
composer install
php -S localhost:8000

A Foodbank.postman_collection.json file has been added. You can import this to Postman to test routes.

Helpful URLs

Propel ORM Calls

PHPMyAdmin

Routing with Slim

Contact

Joel Salisbury - Faculty Advisor

Brian Kelleher - Project Manager

Tim Morris - Developer

Gabe Rogan - Developer

About

Feeding America / Foodbank Application + API

Resources

Stars

Watchers

Forks

Releases

No releases published