Finatra Web Framework


Installing front end packages using Bower

Use bower to install front end packages such as jQuery, Underscore, Backbone and many others. Learn more about Bower and discover the benefits of using a package manager for the web. Find more Bower components here or create your own.

$ bower install backbone

Finatra's default bower.json

{
  "name": "Finatra Project",
  "version": "0.0.1",
  "license": "MIT",
  "private": true,
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "bootstrap" : "twbs/bootstrap"
  }
}

Pre-configured .bowerrc

{
  "directory": "./src/main/resources/public/components"
}

Bootstrap and jQuery at the ready

  src
  |-- main
      |-- resources
          |-- public
              |-- components
                  |-- bootstrap
                  |-- jquery