Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
client
server
.gitignore
README.md
index.js
package.json

README.md

Fast and Furious

Node.js framework for rapid development of real-time single-page web applications.

Quick Start

Install

$ npm install faf

Directory Structure

%app-name%/
  |- client/
  |  |- src/
  |  |  |- app/
  |  |  |  |- %view-name%/
  |  |  |  |  |- %sub-view-name%/
  |  |  |  |  |  |- ...
  |  |  |  |  |- ...
  |  |  |  |  |- %view-name%.js
  |  |  |  |  |- %view-name%.scss
  |  |  |  |  |- %view-name%.spec.js
  |  |  |  |  |- %view-name%.html
  |  |  |  |- ...
  |  |  |  |- app.js
  |  |  |  |- app.scss
  |  |  |  |- app.spec.js
  |  |  |  |- app.html
  |  |  |- common/
  |  |  |  |- directives/
  |  |  |  |  |- %directive-name%/
  |  |  |  |  |  |- %directive-name%.js
  |  |  |  |  |  |- %directive-name%.scss
  |  |  |  |  |  |- %directive-name%.spec.js
  |  |  |  |  |  |- %directive-name%.html
  |  |  |  |  |- ..
  |  |  |  |- filters/
  |  |  |  |  |- ..
  |  |  |  |- services/
  |  |  |  |  |- ..
  |  |- vendor/
  |  |  |- %vendor-name%/
  |  |  |  |- %vendor-file%
  |  |  |  |- ..
  |  |  |- ..
  |- server/
  |  |- configs/
  |  |  |- env.local.js
  |  |  |- vendor.js
  |  |  |- server.dev.js
  |  |  |- server.prod.js
  |  |  |- ...
  |  |- controllers/
  |  |  |- %controller-name%.js
  |  |  |- ...
  |  |- models/
  |  |  |- %model-name%.js
  |  |  |- ...
  |  |- modules/
  |  |  |- %module-name%.js
  |  |  |- ...
  |  |- mongos/
  |  |  |- %mongo-name%.js
  |  |  |- ...
  |  |- services/
  |  |  |- %service-name%.js
  |  |  |- ...
  |- index.js

Examples

Sample app (cool chat): https://github.com/ztrue/faf-sample-app

Something went wrong with that request. Please try again.