Git Product home page Git Product logo

void's Introduction

Void

A starter boilerplate app template for Meteor using IronRouter.

Void is based on Telescope (an open-source social news app) and is brought to you by the Discover Meteor team.

Installation

If you already have Meteor and 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

void's People

Contributors

belhaj avatar bryankennedy avatar busterbeans avatar sachag avatar stephan281094 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

void's Issues

Remove does not work

When logged out and remove a item I get an alert saying it is removed but it is not. When logged in I get the same story. Any ideas? I am new to programming and going through discover meteor too.

License please

This git repo doesn't have a license file nor does the README.md describe the license.

Review of Components

Do you have a writeup anywhere about the decisions you make in putting together this boilerplate?

meteor-roles for authorization?

hi sacha,

seems like authorization would be a fairly ubiquitous requirement,
how would you feel about including meteor-roles (or similar) to the boilerplate?

regards,
tony.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.