-
Firstly, you should download MongoDB, then ..., then mongod
-
Secondly,
go install
,intall the key package from github, and put the package on the right relative path which can import the package successfuly, -
You can test your mongoDB by run
go run TestMDB
, and you will see the output info if you operate and connect mongoDB success. -
So, to start the Project by run
go run app.go
, and use the Post man to the api, you can reffer to themodels.go
file, get the key name (json style)
-
Notifications
You must be signed in to change notification settings - Fork 0
BranceLee/Go_With_MongDB
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Build RESTful API in Go and MongoDB
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published