Scaffolding in MeteorJS
As I have mentioned earlier, there is no built-in scaffolding in MeteorJS. However, there are tools that help us scaffold our application. Although there are a few tools to serve the purpose, we will look into iron-cli
(https://github.com/iron-meteor/iron-cli), which is a scaffolding tool from the makers of the popular package iron-router
. It is a Node.js module and is still growing; so, we have to watch out for the releases carefully. The iron-cli
must be installed from NPM using the following command:
npm install -g iron-meteor
Let me tell you what exactly iron-cli
does. It provides command-line utilities to scaffold. Instead of using MeteorJS commands directly such as meteor
create
myapp
, we will use the iron-cli
commands to generate the application. The iron-cli
wraps the MeteorJS application inside it and provides us the ability to manage the application. Let's try it out.
After installing iron-meteor
using the preceding NPM command, try iron
help
in the...