Lightweight express.js UI server

cosyJS is an easy to install, easy to configure module for your express projects, and includes a full-stack components libray

Try it today!

npm install cosy

See it in action!

Check out the TODO app in order to get an idea of how a completed cosyJS project looks.

How is it used ?

Install from npm.

npm install cosy

Make sure you have a working express instance and add these lines in your app.js:

  var express = require('express'),
	  http = require('http'),
	  app = express(),
	  cosy = require('cosy')(app);

  cosy.start(function(){
	http.createServer(app).listen(app.get('port'), function() {
		console.log("Express server listening on port " + app.get('port'));
	});
  });
						

You are now ready to use cosyJS

Documentation

I am currently working on the wiki, check it regularly in order to have more information.

Who uses it ?

Currenly, I am rebuilding the next version of guidedaytoday.com (my own startup) using cosyJS.