Skip to content

hoppula/cereboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cereboard

This simple example shows how one would begin to construct a discussion forum with Cerebellum.

This example uses a newly added feature that enables us to define which data to load directly in view components.

Categories, Board & Thread components declare their data sources with static fetch method.

This enables us to keep our routes clear of store.fetch calls and you can instantly see what data the components use. Components are still also fully reusable in other contexts.

Check out routes.js, isomorphic routing can't get much simpler :)

Initial steps

Install dependencies:

npm install

Build:

npm run build

Start (& reload server with nodemon on changes):

npm start

Watch for changes (and rebuild public/js/app.js with source maps):

npm run watch

About

Cerebellum discussion forum skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published