Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SachaG/Void
A starter template for Meteor, using IronRouter
https://github.com/SachaG/Void
Last synced: about 2 months ago
JSON representation
A starter template for Meteor, using IronRouter
- Host: GitHub
- URL: https://github.com/SachaG/Void
- Owner: SachaG
- Created: 2013-10-30T02:17:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-04T02:09:13.000Z (over 9 years ago)
- Last Synced: 2024-04-14T14:21:22.630Z (6 months ago)
- Language: JavaScript
- Size: 222 KB
- Stars: 227
- Watchers: 13
- Forks: 36
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
Awesome Lists containing this project
README
# Void
A starter boilerplate app template for [Meteor](http://meteor.com) using [IronRouter](https://github.com/EventedMind/iron-router).
Void is based on [Telescope](http://telesc.pe) (an open-source social news app) and is brought to you by the [Discover Meteor](https://www.discovermeteor.com) team.
## Installation
If you already have Meteor and [Meteorite](https://github.com/oortcloud/meteorite/), Void 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/SachaG/Void.git myApp
cd myApp
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
- [meteor-boilerplate](https://github.com/matteodem/meteor-boilerplate) by matteodem
- [meteor-jw-opinionated-skeleton](https://github.com/jamesdwilson/meteor-jw-opinionated-skeleton) by jamesdwilson (CoffeeScript)
- [meteor-boilerplate](https://github.com/BeDifferential/meteor-boilerplate) by BeDifferential (CoffeeScript)