Skip to content

Latest commit

 

History

History
85 lines (66 loc) · 3.84 KB

README.md

File metadata and controls

85 lines (66 loc) · 3.84 KB

HopJS Logo

Version License build Coverage Status

Hop.js is a Full-stack Javascript framework that unify fround and backend code. The aim is to share; views, modles and controlle login for maximum code reuse.

This Frame work is build on NodeJs npm

Server Client View UI Build

The Client uses Flux built using Backbone events. A simple implementation example can be found here. flux

features

  • Client side routes with real URLs, not hash links
    • routes will automatically trailing slashes routes for completeness
    • All page receive full address information. Brake down of, URL fragments & Query augments
  • Flux store exposes
    • Server DB Modles as backbone model
    • Moke model helps for attribute and form inputs
  • Language Extensions available in the frontend and backend
  • Automatic wiring of UI actions to business logic

editing

That are 4 areas when editing

  1. Application logic /assets/js/logic/...
  2. User interface /assets/js/views/...
  3. Storage logic /api/models/...
  4. Application config /config/platform.js

install

git clone https://github.com/codemeasandwich/HopJS.git
cd HopJS
npm install

If you don´t have nodemon installed

npm install -g nodemon

Nodemon is a utility that will monitor for any changes in your source and automatically restart your server.

start server

in HopJS directory, enter the command

./hop

Now you can check out the server running on

localhost:2020

testing

npm test

todo

random commands

npm test

istanbul cover node_modules/mocha/bin/_mocha -- -R spec tests/index

GitHub version