An open API service indexing awesome lists of open source software.

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

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
```