Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/akmamun/golang-mongo

Go, Go Gin and Mongo Restful API Service
https://github.com/akmamun/golang-mongo

gin golang mongodb

Last synced: 19 days ago
JSON representation

Go, Go Gin and Mongo Restful API Service

Awesome Lists containing this project

README

        

## Go Mongo DB and Gin based Microservice for API development
### Setup dependencies
- Setup your .env file, for example follow .env.example
- To add all dependencies for a package in your module `go get .` in the current directory

### Lets Run
- `go run server.go` or
- Build version `go build server.go` and run `./server`
- The application should be available and running on localhost:8000