geekyme / meteor-boilerplate

A boilerplate for meteorjs projects

Home Page:http://matteodem.github.io/meteor-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

meteor-boilerplate

A fork of the original meteor-boilerplate to accommodate stylus users.

This boilerplate is here to give you a structure for typical meteor projects, with a console tool to ease up some tasks.

How to install

# If meteor and meteorite are already installed
cd /path/to/project/
mrt install
meteor

How to use

./meteor-boilerplate # Lists all possible commands 

What's in this boilerplate

The "insecure" and "autopublish" packages are removed by default. Several other packages are added, which are listed on the bottom. There's already a lot of predefined code in this boilerplate, to show you the possible functionality.

Features

  • Comprehensive folder structure
  • TDD / BDD with laika
  • Multi page apps with iron-router
  • A way to load fixtures (as of now no external packages used for that)
  • meteor-boilerplate console tool, which helps on creating views, routes and so on

Folder structure

client/ 				# Client folder
    compatibility/      # Libraries which create a global variable
    config/             # Configuration files (on the client)
	lib/                # Library files that get executed first
    routes/             # All routes(*)
    startup/            # Javascript files on Meteor.startup()
    stylesheets         # Stylus files
    subscriptions/      # Collection subscriptions(*)
    modules/            # Meant for components, such as form and more(*)
	views/			    # Contains all views(*)
	    common/         # General purpose html templates
model/  				# Model files, for each Meteor.Collection(*)
private/                # Private files
public/                 # Public files
server/					# Server folder
    fixtures/           # Meteor.Collection fixtures defined
    lib/                # Server side library folder
    publications/       # Collection publications(*)
    startup/            # On server startup
tests/					# Test files, can be run with laika
meteor-boilerplate		# Command line tool

(*) = the command line tool creates files in these folders

Packages used

  • standard-app-packages
  • preserve-inputs
  • stylus
  • jquery
  • underscore
  • handlebar-helpers
  • iron-router
  • iron-router-progress
  • bootstrap-3
  • accounts-password
  • accounts-entry
  • accounts-ui

Projects created with this boilerplate

places

Other Awesome Boilerplates

About

A boilerplate for meteorjs projects

http://matteodem.github.io/meteor-boilerplate/


Languages

Language:Shell 68.8%Language:JavaScript 25.0%Language:CSS 6.1%