New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brainy-server

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brainy-server

a server side and client side framework for Backbone

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

brainy-server

brainy-server is a server side and client side framework for Backbone. the end goal is a "holy grail" application where any application specific code is shared between the client and the server.

brainy does the work of inferring server specific handlers from your client Backbone code. this means you can write code once for the client, and brainy takes the responsibility of creating a compatible server for you.

use

using the built-in server

brainy-server includes a built in server which can:

  • create a static file server for your application
  • scaffold boilerplate files for your application, voiding the drudgery of adding libraries and linking files
  • create a RESTful API from directory of Backbone models and collections

to create a brainy sever, simply invoke the brainy-server command and tell it where your webroot is (process.cwd() by default), and where your models and collections are contained:

$ brainy-server --paths.resources=js/resources

this will start an application server and API on http://localhost/.

Keywords

FAQs

Package last updated on 02 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc