brooklyn
brooklyn is an opinionated framework to build web applications with Backbone and Parse, appropriately named after a borough in New York City.
Getting Started
- Install brooklyn globally using npm:
$ npm install brooklyn -g
- Create a new brooklyn application:
$ brooklyn new myapp
- Start the web server:
$ brooklyn start myapp
Run with --help
or -h
for options.
- Go! Using a browser, navigate to
http://localhost:1111
.
Anatomy
brooklyn creates each of the following files and folders by default:
├── app
│ ├── assets
│ │ ├── css
│ │ ├── images
│ │ └── js
│ ├── controllers
│ ├── models
│ └── views
└── public
├── .brooklyn.json
├── .routes.json
├── package.json
A basic rundown:
- app: the controllers, models, views, and assets.
- assets
- controllers
- models
- views
- public: the compiled application.
- .brooklyn.json: brooklyn configuration settings
- .routes.json: routes
- package.json: dependencies
License & Contributing