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
Contact
Joel Salisbury - Faculty Advisor
Brian Kelleher - Project Manager
Tim Morris - Developer
Gabe Rogan - Developer