Food Bank Service built on Salesforce using Angular.js
This is a Salesforce.com and AngularJS application that tracks clients and service delivery for food banks.
Here is a 5-minute video introduction: http://youtu.be/vzvGtpBY08E
Visual Studio Code Setup
Bower Setup
In Visual Studio Code:
- Install the Bower Extension
- Ctrl+Shift+P -> Bower - Search and Install. This will find the resource-bundles\Angular.resource\bower.json for dependencies to install.
Cumulus CI Setup
Deploy to Scratch Org
cci deploy run task
Open Scratch Org
sfdx force:org:open
Salesforce Instance Setup
Edit System Administrator Profile > Field-Level Security for custom objects Client, Client Household, and Food Bank Visit & give View/Edit permissions on all fields
Open Food Bank App
[instanceURL]/apex/FoodBankApp (FoodBankApp Visualforce Page)
The Food Bank app has a mock data service that lets you test without connecting to Force.com. There is an alternate home page, as well as a Jasmine Test Runner page. For example, on a Mac:
Open a Terminal window to the food bank application root and type the following:
cd resource-bundles/Angular.resource
python -m SimpleHTTPServer
For the home page, open your web browser to: http://localhost:8000/
For the test runner, open to: http://localhost:8000/test/TestRunner.html
This unmanaged package is built on 3 primary custom objects; Client, Client Household, and Food Bank Visit. There is no dependency or integration with Salesforce NPSP (https://github.com/SalesforceFoundation/Cumulus) although that is a future goal.
.project: Required by the Eclipse IDE. Describes the Eclipse project.
Please log issues related to this repository here.