1. Start with generators
This is the fastest way to create an application:
compound generate crud post title content date:date published:boolean
2. Then describe a route
in config/routes.js
and remove this file (public/index.html
)
exports.routes = function (map) { map.get('/', 'posts#index'); };
3. Design your database
in db/schema.js
and describe models in app/models/*
4. Keep your controllers thin!
Write tests, and good luck.
If you have any questions feel free to ask at CompoundJS Google Group or #compoundjs on irc.freenode.net.
Track CompoundJS project state on our Trello board, vote for features, discuss. Help us to get better!