Node.js + Ember.js + MongoDB
Proof of concept application.
Dependencies:
- http://nodejs.org 0.6.x
- http://requirejs.org 1.0.x
- http://expressjs.com 3.0.x
- http://mongoosejs.com 2.5.x
- http://www.mongodb.org 2.0.x
- http://jquery.com 1.7.2
- http://emberjs.com 0.9.8.1
- http://twitter.github.com/bootstrap 2.0.3
How to run in development environment
-
You have to start local MongoDB instance
-
Go to the project directory
$ cd nodejs-emberjs-mongodb
-
Install required Node.js modules
$ npm install
-
Start Node.js HTTP server
$ npm start
-
Visit address http://localhost:3000
-
Enjoy!
Build and run production version
-
You have to start local MongoDB instance
-
Go to the project directory
$ cd nodejs-emberjs-mongodb
-
Install required Node.js modules
$ npm install
-
Start Node.js HTTP server in production environment, client javascript and css files will be automatically optimized
$ NODE_ENV=production node app
Manual client build
-
Go to the project directory
$ cd nodejs-emberjs-mongodb
-
Build client
$ node build