A simple boilerplate for creating Meteor applications http://meteor-skeleton.meteor.com
Find a file
Kjetil Haugland 08a0ced6e1 .gitignore
2015-01-30 23:59:48 +01:00
.meteor .gitignore 2015-01-30 23:59:48 +01:00
client Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
lib Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
public Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
server Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
.gitignore Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
HISTORY.md Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
NOTES.md Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00
README.md Updated to latest versions and changed a few of the packages. The active helper now works again. Also, a few minor changes here and there. 2015-01-30 23:48:37 +01:00

Meteor-skeleton

A boilerplate for Meteor - giving you a simple and more organized way to create projects.

It comes with a complete collection sample including publications, subscriptions and CRUD functionality. Routes, views and some nice helpers are also included.

Take a look at meteor-skeleton.meteor.com for a live sample.

Meteor-skeleton

Packages used

  • meteor-platform
  • accounts-base
  • alanning:roles
  • iron:router
  • aldeed:simple-schema
  • aldeed:collection2
  • aldeed:autoform
  • momentjs:moment
  • twbs:bootstrap

The Meteor packages 'autopublish' and 'insecure' are removed by default.

Usage

  1. Clone it: git clone https://github.com/kjetilhau/meteor-skeleton.git
  2. cd meteor-skeleton
  3. Remove the .git folder
  4. git init
  5. meteor

Structure

client/							# Client code
  config/						# Configuration files
  lib/							# Library files that get executed first
    helpers/ 					# Helpers that helps you and yours
  routes/						# Everything related to client-side routing
  startup/						# Stuff that gets launched at client load
  stylesheets/					# CSS/LESS/SCSS files
    components/					# Styles for specific components
    sites/						# Styles for sites and collections
  subscriptions/				# Collection subscriptions that are not defined in routes
  views/						# View templates
    documents/					# Views related to the Documents collection
    layouts/					# Layout files defined with Iron Router
    pages/						# Views for static pages
    shared/						# Usually templates that are shared between views
lib/							# Code shared with client and server files
  collections/					# Collection files, separate files for each collection
  helpers/						# Helpers that is accessible on both client and server
public/							# Public files
  img/							# Static image folder
  fonts/						# Static fonts folder
server/							# Server code
  config/						# Server configuration files
  fixtures/						# Fixtures for defining pre-loaded data
  lib/							# Server-side library folder
  publications/					# Collection publications, separate files for each collection
  startup/						# Stuff that gets launched at server startup

Other great boilerplates