GithubHelp home page GithubHelp logo

marionette-socket.io's Introduction

Marionette Boilerplate

Build Status

Introduction

This project is first to train with tools like GruntJS, Yeoman, Backbone.js, Marionette.js... And then I used it as Boilerplate.

Requirements

Optional

Installation

  • $ git clone [email protected]:kiki-le-singe/marionette-boilerplate.git
  • $ cd marionette-boilerplate
  • $ npm install
  • $ bower install

Grunt tasks

  • $ grunt serve

Then serve the app on localhost:9000 and opens your default browser

  • $ grunt serve --stub

Makes the same thing that the above command, except that the 'stub' option allows to enabled or not the retrieving of fake datas.

  • $ grunt test

Runs tests located in /tests/js/spec.

You can access tests in your browser, simply create a vhost.

  • $ grunt dist

Build the application in /dist.

  • $ grunt build

Create a .tgz archive named marionette-boilerplate-[version].

  • $ grunt docs

Generates a html doc of your documented code in /docs and open it in your browser.

  • $ grunt plato

Generate complexity analysis reports in /reports with plato.

  • $ grunt changelog

Generate a markdown changelog from git commit data. grunt-conventional-changelog.

Gulp tasks

  • $ gulp serve

Then serve the app on localhost:3000 and opens your default browser

  • $ gulp serve --stub

Makes the same thing that the above command, except that the 'stub' option allows to enabled or not the retrieving of fake datas.

  • $ gulp test

Coming soon...

  • $ gulp dist

Build the application in /dist.

  • $ gulp build

Create a .zip archive named marionette-boilerplate-[version].

  • $ gulp docs

Coming soon...

  • $ gulp plato

Coming soon...

  • $ gulp changelog

Coming soon...

Included JavaScript libraries

Why to use Backbone.wreqr and Backbone.radio? Marionette require Backbone.wreqr for internal use only and I use Backbone.radio instead of Backbone.wreqr in my boilerplate but it's not mandatory.

API

By default the root access for the API is http://localhost:9000/api. Available example: http://localhost:9000/api/libraries

Tests

The library used for tests are :

App configuration

The configuration of the application is located in /app/config

Handlebars helpers

Handlebars helpers is located in /app/scripts/helpers

Sources

Tips and tricks

  • mongo-express: If you use MongoDB, look at this node modules. It's an convenient admin interface for MongoDB.
  • To enjoy livereload don't forget download the chrome plugin. (useless only for the use of Grunt. browsersync coming soon)

marionette-socket.io's People

Contributors

kiki-le-singe avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.