Meteor Boilerplate

screenshot of Meteor Boilerplate

A starting point for new Meteor JS projects.

Overview

This analysis discusses a Meteor Boilerplate, which is suitable for starting new projects. The boilerplate includes various files that demonstrate how to use the provided packages. It is currently written in Coffeescript, but can also be understood by JavaScript developers. The boilerplate includes several features such as Flow router, Bootstrap 4, custom accounts UI, eventEmitter2, user schema setup, example file structure for collections, Facebook sign up integration, loading bar for websockets, formattedDate helper, and opinionated file naming patterns. The use of Coffeescript versus JavaScript is also discussed, along with the choice to use packages in larger projects.

Features

  • Flow router for routing functionality.
  • Manually installed Bootstrap 4 for styling (can be removed if not needed).
  • Custom accounts UI that works with Bootstrap 4.
  • eventEmitter2 installed on the server, accessible via E.emit('event', val).
  • User schema setup for easy database management.
  • Example file structure for collections.
  • Integration for Facebook sign up, capturing name, email, and profile picture URL.
  • Loading bar displayed when websockets are active, similar to YouTube's.
  • formattedDate helper for easy date formatting.