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

https://github.com/hinha/simple-restapi-go


https://github.com/hinha/simple-restapi-go

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# simple-restapi-go

### How to use

Using MongoDB:

```bash
export URL_DB=mongo
export MONGO_URL=
export MONGO_TIMEOUT=30
export MONGO_DB=
```

Using Redis:

```bash
export URL_DB=redis
export REDIS_URL=redis://localhost:6379
```

### Running Application

```bash
go run main.go
```