gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 577 forks source link

Add Support for MongoDB via mgo package #252

Closed ghost closed 7 years ago

ghost commented 7 years ago

It would be nice to have a NOSQL option for the database part of Buffalo. Mongo is and excelent choice and the mgo package is very robust and allows access to almost all mongo features.

markbates commented 7 years ago

What support would you want for it?

Right now a Buffalo application can be generated with the --skip-pop flag which will generate an application without any database support, so you could easily use Mongo, Gorm, or whatever you want would want to use.

The generators, and other tools, found under the buffalo db command come from the github.com/markbates/pop/soda library.

ghost commented 7 years ago

ok i see. Then I guess i can just wire up my mongo instance myself fairly easily.

carepollo commented 11 months ago

I think that would be better if the framework had the option to set that up for you instead.