Skip to content

kjetilhau/meteor-skeleton

Repository files navigation

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 meteorskeleton.herokuapp.com for a demo.

Meteor-skeleton

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 npm install --save
  6. meteor

Packages used

Atmosphere

  • blaze-html-templates
  • accounts-base
  • #alanning:roles
  • kadira:flow-router
  • kadira:blaze-layout
  • arillo:flow-router-helpers
  • zimme:active-route
  • aldeed:schema-deny
  • aldeed:collection2-core
  • aldeed:autoform
  • fourseven:scss

NPM

  • simpl-schema
  • bootstrap
  • moment
  • noty

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

Structure

client
import
  api/
    documents/
      both/
        schemas/
      server/
  modules/
  startup/
    both/
    client/
      router/
    server/
  ui/
    components/
      documents/
        edit/
        index/
          documents-index-item/
        new/
        show/
    helpers/
    layouts/
    pages/
    shared/
    stylesheets/
      theme/
public
  img/
  fonts/
server

Other great boilerplates