Meteorplate
Technologies | Meteor 1.0.3.1, HTML5 Boilerplate, and Iron Router |
Meteor Packages Used | meteor-platform, accounts-ui, accounts-password, iron:router |
Live Demo | meteorplate.meteor.com |
This project aims to create a solid starting point for Meteor projects that want to use a routing system and pages. Iron Router is used to swap page templates in and out of a container div. Everything works reactively with Meteor's data binding.
This is a fork from an older project Meteor Backbone Boilerplate.
Features
Iron Router gives the project fully featured routing for a paged app.
Sub-templates render things like the page structure and navbar reactively, while routing handles the main page content.
Permissions with Meteor's account system is set up and reactive, so internal pages can be hidden from users that aren't logged in, and user data can be rendered in the page structure.
All of these features are demostrated in the app itself, so check it out live at meteorplate.meteor.com or dive into the code to see how it all works.
Google Analytics
Google Analytics support is also built in and ready to go. Checkout the routes at client/scripts/routes/routes.js
to see the implementation and enter your Analytics code.
Usage
Just clone the repository, run meteor
in the root directory, and start hacking in your own project like normal. All that's provided is a starting point for your projects and a basic demo.
License
MIT