Here's some code:

class Shopify extends Batman.App
  @root 'products#index'
  @resources 'products'

class Shopify.Product extends Batman.Model
  @persist Batman.RestStorage

class Shopify.ProductsController extends Batman.Controller
  index: ->
    @redirect action: 'show', id: 1

  show: (params) ->
    @product = Shopify.Product.find params.id

views/products/index.html

<ul id="products">
  <li data-foreach-product="Product.all" data-mixin="animation">
    <a data-route="product" data-bind="product.name">name will go here</a>
  </li>

  <li>
    <span data-bind="products.length"></span>
    <span data-bind="'products' | pluralize products.length"></span>
  </li>
</ul>

Ready for more?

Get started now or read
through some examples.