Skip to content

Meteor 1.4 + React boilerplate (DEPRECATED/ABANDONED) 👋

Notifications You must be signed in to change notification settings

ffxsam/ffx-meteor-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor 1.4 + React Boilerplate

NOTE

This project is no longer maintained, and will no longer be updated.

Purpose

The goal of this boilerplate is twofold:

  1. To provide a good starting point as a scaffold for new Meteor/React projects. This boilerplate will continue to evolve as Meteor and React continue to change and mature.
  2. To also serve as a learning resource by offering an example project.

Installation

Clone this repository, then run:

$ meteor npm install

This will install NPM packages and update the Meteor packages used in the boilerplate.

Once you're ready to get started with your own project, make sure you're in the master branch and run:

$ meteor npm run scaffold

which will remove the .git folder and this README.md, give you a proper working package.json file, and finally set up a starting folder structure.

Exploring the Example Project

The example project shows all the basics of React, Redux and Redux thunks working together with Meteor. It's a separate branch of the project, so just switch to the example branch to see it:

$ git checkout example

This must be done before running meteor npm run scaffold, since that script will destroy the .git folder. Explanations can be found in the comments of the code, so check there. Your starting point should be /client/routes.js. From that point, comments will guide you through the rest of the application. Use git checkout -f master to get out of the example.

Ideas That Graduated

features folder

I've been using this structure for awhile now, where there's a folder called features which contains large parts of a project. For example:

  • features/Billing
  • features/AnimatedCharts

These are typically self-contained groups of components, containers, and methods that are not used anywhere else. I've found that this structure makes it much easier for me to track down problems because I know exactly where to look.

Future Ideas/Plans

  • Come up with a totally working and killer test solution using Mocha and Enzyme
  • Explore CSS Modules.

About

Meteor 1.4 + React boilerplate (DEPRECATED/ABANDONED) 👋

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published