Open ColinOrr-Asidua opened 10 years ago
I have dropped AppFog and data should be save in local mongoDB (u just need to run mongo db nothing else is required, db and collection will be created automatically).. The config details come from development.json and probably in the future this file won't be in the repo so everybody can config db connection as they wish e.g. (local, MongoLob, AppFog etc.)
Currently the application accesses the database using MongoJS, the code can be found here: https://github.com/ColinOrr-Asidua/chitter/blob/master/db.js.
We'd like to give it a real schema, instead of just slinging JavaScript into the database. Mongoose looks like a fairly popular library to achieve this.