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)
- Host: GitHub
- URL: https://github.com/willyrgf/rerest
- Owner: willyrgf
- License: mit
- Created: 2019-11-14T14:29:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T13:22:04.000Z (about 4 years ago)
- Last Synced: 2024-06-20T09:10:47.961Z (about 2 years ago)
- Topics: automic-api, database, golang, redis, rest, rest-api
- Language: Go
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReREST
[](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
```