Yeoman generator for creating Meteor + AngularJS applications - hit the ground running.
Based on angular meteor tutorial, which is well worth spending a few of hours on
npm install -g generator-angular-meteor
yo angular-meteor appName
yo angular-meteor appName
cd into the new directory to run
meteor commands or to create subcomponents
- windows - Download and Install Meteor
- linux/mac -
curl https://install.meteor.com/ | sh
- CSS frameworks:
- Authentication boilerplate:
- oAuth integrations:
- Pagination, sorting and searching support:
Bowerpackage management support:
- [angular-meteor](#app) (aka [angular-meteor:app](#app)) - [angular-meteor:model](#model) - [angular-meteor:method](#method) - [angular-meteor:route](#route) - [angular-meteor:controller](#controller) - [angular-meteor:view](#view) - [angular-meteor:filter](#filter) - [angular-meteor:directive](#directive) - [angular-meteor:factory](#service) - [angular-meteor:decorator](#decorator)
Sets up a new AngularJS + Meteor app, generating all the boilerplate you need to get started.
yo angular-meteor myApp
Generates a new database collection.
yo angular-meteor:model products[?] Is this a protected model? Yes
model/products.model.coffee server/products.publish.coffee server/startup/products.load.coffee
Generates a new meteor method.
yo angular-meteor:method invite
Generates a new route with optional model and list/detail routes
yo angular-meteor:route products[?] Where would you like to create this route? client/[?] Is this a protected route? No[?] Would you like to make List/Details routes? Yes[?] Would you like to create a Model? Yes
client/products/products.routes.ng.coffee client/products/products-list.controller.ng.coffee client/products/products-list.view.ng.jade client/products/product-detail.controller.ng.coffee client/products/product-detail.view.ng.jade client/products/products.styl model/products.model.coffee server/products.publish.coffee server/startup/products.load.coffee
Generates a controller.
yo angular-meteor:controller user[?] Where would you like to create this controller? client/
Generates a directive.
yo angular-meteor:directive myDirective[?] Where would you like to create this directive? client/components/[?] Does this directive need an external html file? Yes
client/components/my-directive/my-directive.directive.ng.coffee client/components/my-directive/my-directive.ng.jade client/components/my-directive/my-directive.styl
Generates a filter.
yo angular-meteor:filter myFilter[?] Where would you like to create this filter? client/components/
Generates an AngularJS service decorator.
yo angular-fullstack:decorator serviceName[?] Where would you like to create this decorator? client/components/
The following packages are always installed by the app generator:
These packages are installed optionally depending on your configuration:
Yeoman generated projects can be further tweaked according to your needs by modifying project files appropriately.
.yo-rc file is generated for helping you copy configuration across projects, and to allow you to keep track of your settings. You can change this as you see fit.
Still needs doing, let me know if you think you can help
Please see CONTRIBUTING.md
heavily inspired by generator-angular-fullstack