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

https://github.com/willyrgf/rerest

ReREST serve a RESTful API from any Redis database, written in Go, based on pREST (http://postgres.rest)
https://github.com/willyrgf/rerest

automic-api database golang redis rest rest-api

Last synced: 5 months ago
JSON representation

ReREST serve a RESTful API from any Redis database, written in Go, based on pREST (http://postgres.rest)

Awesome Lists containing this project

README

          

# ReREST
[![GoDoc](https://godoc.org/github.com/willyrgf/rerest?status.png)](https://godoc.org/github.com/willyrgf/rerest)

Serve a RESTful API from any Redis database

## Redis version

- 3.0 or higher

## Environment
```
REREST_CONF="config.toml"
```

## Usage
```
Usage of ./rerest:
-dev
Set the environment to dev.
-trace
Enable trace.
```

### Test with docker-compose
```
docker-compose up --build -d
./test_example.sh
```

### For build:
```sh
git clone https://github.com/willyrgf/rerest.git
cd rerest
./build.sh
```

### Install using go:
```sh
go install github.com/willyrgf/rerest
```

### Configure like a daemon in FreeBSD:
```sh
cat <> /etc/rc.conf
# ReREST
rerest_enable="YES"
rerest_conf="/usr/local/etc/rerest/config.toml"
EOF
```