SilverStripe module which connects AngularJS to a SilverStripe ModelAdmin.
You'll need SilverStripe CMS plus Bower to manage the client-side dependencies.
Install a copy of SilverStripe. The easiest way is via Composer.
composer create-project silverstripe/installer ./my/website/folder
Change your working directory:
cd ./my/website/folder
Grab a copy of the module:
git clone https://github.com/flashbackzoo/silverstripe-angularjs-modeladmin.git
Install the client-side dependencies:
cd silverstripe-angularjs-modeladmin && bower install
Add the following rules to your .htaccess
file. These rules redirect AngularJS AJAX requests to right place when your catalog isn't the site index.
RewriteRule ^([\w\d\/]+silverstripe-angularjs-modeladmin)([\w\d\/.]+)$ silverstripe-angularjs-modeladmin$2 [L]
RewriteRule ^([\w\d\/]+productcatalogapi)([\w\d\/.]+)$ productcatalogapi$2 [L]
Login to the CMS.
Create a new page using the Product Catalog
page type.
Add some products via the Products
ModelAdmin.
You're done!
Demo site http://davidcraig.co.nz/catalog.
This module is also available on Packagist.