https://github.com/dunghenry/gin_mongodb
gin framework + mongodb + docker
https://github.com/dunghenry/gin_mongodb
docker docker-compose gin-gonic mongodb-atlas
Last synced: 3 months ago
JSON representation
gin framework + mongodb + docker
- Host: GitHub
- URL: https://github.com/dunghenry/gin_mongodb
- Owner: dunghenry
- Created: 2022-10-03T14:04:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T07:42:37.000Z (over 3 years ago)
- Last Synced: 2025-01-25T19:29:20.345Z (over 1 year ago)
- Topics: docker, docker-compose, gin-gonic, mongodb-atlas
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Gin + MongoDB
### Create project
```js
go mod init trandung/server
```
### Insatll plugin: gin and mongo-driver
```js
go get -u github.com/gin-gonic/gin
go get -u go.mongodb.org/mongo-driver/mongo
```
### Remove all packages not used
```js
go mod tidy
```