https://github.com/tr1sm0s1n/gin-mongo-api
Gin API for CRUD operations in MongoDB.
https://github.com/tr1sm0s1n/gin-mongo-api
api crud docker docker-compose gin gin-gonic go golang mongodb rest-api
Last synced: 3 months ago
JSON representation
Gin API for CRUD operations in MongoDB.
- Host: GitHub
- URL: https://github.com/tr1sm0s1n/gin-mongo-api
- Owner: tr1sm0s1n
- License: mit
- Created: 2023-08-11T07:00:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-14T16:05:12.000Z (6 months ago)
- Last Synced: 2025-12-17T00:44:06.022Z (6 months ago)
- Topics: api, crud, docker, docker-compose, gin, gin-gonic, go, golang, mongodb, rest-api
- Language: Go
- Homepage:
- Size: 84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Gin-Mongo-API
Gin API for CRUD operations in MongoDB.
## 🛠 Built With
[](https://go.dev/)
[](https://gin-gonic.com/)
[](https://www.mongodb.com/)
[](https://www.docker.com/)
## ⚙️ Run Locally
Clone the project
```bash
git clone https://github.com/tr1sm0s1n/gin-mongo-api.git
cd gin-mongo-api
```
Start the database
```bash
make up
```
View the database (optional)
```bash
make enter
```
Run the application
```bash
make run
```
For live reload, install air (optional)
```bash
make air
```
Run the application in watch mode
```bash
make air
```