/ginMongo-go-dirver

golang + gin + mongo-go-driver + jwt + cros

Primary LanguageGo

golang + gin + mongo-go-driver + jwt + cros

下载安装并启动mongodb

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

To run MongoDB (i.e. the mongod process) as a macOS service, issue the following:

brew services start mongodb-community
brew services stop mongodb-community

To run MongoDB manually as a background process, issue the following:

mongod --config /usr/local/etc/mongod.conf --fork

启动项目

fresh  下载安装fersh:https://github.com/gravityblast/fresh