Giter VIP home page Giter VIP logo

backbone-validation's Introduction

Backbone Validation

Introduction

Personal tests of backbone.validation plugin. This project uses marionette-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 release

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.

Included JavaScript libraries

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.

backbone-validation's People

Contributors

kiki-le-singe avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

backbone-validation's Issues

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.