📄 | .babelrc |
📄 | .gitignore |
📄 | .nvmrc |
📄 | README.md |
📁 | app |
📄 | client.js |
📁 | config |
📁 | feature |
📄 | package.json |
📄 | server.js |
📁 | spec |
README.md
production-todomvc
work in progress
production-quality TodoMVC
stack
- task runner: npm scripts
- client bundler: browserify
- utility functions: ramda
- directory structure:
/app/
- symlink
/app
to/node_modules/app
- e.g.
/app/package.json
/app/client.js
/app/server.js
/app/thing/schema.js
/app/thing/service.js
/app/thing/client.js
/app/thing/routes.js
/app/thing/views/thing-list.js
/app/thing/views/thing-list.css
/app/thing/tests/views/thing-list.js
/app/list-view/index.js
- always require top-down (
require('things/schema')
) instead of relative.
- symlink
- configuration:
app/config.js
and evalify/config/{ NODE_ENV }.js
- data model: tcomb
- database: knex
- data validator: tcomb-validator
- api service: feathers-knex
- api authentication: feathers-authentication
- api transport: primus
- api client: feathers-client
- client async actions: redux-thunk
- client actions: redux-tcomb
- client action-types: create-action-types
- client reducers: redux-tcomb
- client getters: reselect
- client store: redux
- client router: redux-router
- client views: react
- client forms: tcomb-form
- test specs: tape
- test features: cuke-tap
Built with git-ssb-web