robrighter / node-boilerplate

Everything you need to get started on a Node.js website with express and socket.IO
1.06k stars 161 forks source link

mongoose/mongodb template? #14

Open ralyodio opened 12 years ago

ralyodio commented 12 years ago

Would it be possible to add support for a simple mongoose/mongodb setup?

robrighter commented 12 years ago

@chovy are you still interested in this feature? I am debating if I should add it in version2. I have the code pretty much written, but the issue is how to make it easy for people to get a mongo db setup. The goal for this project has always been to have everything work after the initial script is run. Setting up a mongo install might complicate things and be a barrier for new users.

ralyodio commented 12 years ago

Personally, I think it would be beneficial. What good is an app without a database instance? :-D

ralyodio commented 12 years ago

woops, I closed this thread on accident.

kristoferjoseph commented 12 years ago

+1 mongodb template

crawfordcomeaux commented 12 years ago

+1 for me, too

mrjcleaver commented 12 years ago

+1

dgoujard commented 12 years ago

+1 for me too

malachaifrazier commented 12 years ago
cyrilic commented 12 years ago

+1

davidmarkclements commented 12 years ago

I disagree, this locks you into one database type (what if you want couchdb, or need mysql for legacy?)

there are some cases you don't want a database instance, I started using expressling and found dependence on mongo to be an obstacle, and not an easy one to remove either as its integrated quite tightly.

The reason i'm now going to use node boilerplate is exactly because it doesn't have a db tie in.

Perhaps have db support in a seperate branch, one for mongo, then poss one for redis/couch/mysqll etc?

niftylettuce commented 12 years ago

once i fix up expressling you can use it http://expressling.com

tchalvak commented 11 years ago

Does anyone have a fork set to use mongodb to try out? Err, I guess robrighter might. I'd be interested in checking it out, even if it was just in a branch or fork of this repo.