Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 1.8 KB

File metadata and controls

69 lines (56 loc) · 1.8 KB

Plus More

Installation

If you already have Meteor and Meteorite, Plus More is ready to go. Just clone it locally, run it with mrt, and start coding!

If not, here are the full instructions:

curl https://install.meteor.com | /bin/sh
npm install -g meteorite
git clone https://github.com/patrickleet/plus-more.git plusmore
cd plusmore
mrt

Features

  • Client-side routing
  • Publications/subscriptions
  • Basic permissions
  • Common templates

Principles

Void adopts a modular approach, where code is broken down in different files rather than all kept in one place. It also uses the “template/mapper” pattern, where the item.html template has a similarly named item.js JavaScript file that holds its helper code.

Void uses the Items collection as an example, but you would probably replace this with your own collection name (Posts, Sales, Projects, etc.) and change the file and variables names accordingly.

File Structure

  • client
    • CSS
    • helpers
      • handlebars.js
      • router.js
    • views
      • common
        • footer.html
        • header.html
        • layout.html
        • loading.html
        • notFound.html
      • items
        • item.html
        • item.js
        • items.html
      • pages
        • homepage.html
    • main.html
    • main.js
  • collections
    • items.js
  • lib
    • helpers.js
    • permissions.js
  • packages
    • iron-router
    • sample-package
  • public
  • server
    • fixtures.js
    • publications.js

Other Boilerplates