prest

command module
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2018 License: MIT Imports: 2 Imported by: 0

README

pREST

Build Status GoDoc Go Report Card codecov Gitter Open Source Helpers

Serve a RESTful API from any PostgreSQL database

Postgres version

  • 9.4 or higher

Problem

There is PostgREST written in Haskell, but keeping Haskell software in production is not an easy job. With this need pREST was born. Read more.

Documentation

https://postgres.rest/ (source)

Documentation

Overview

pREST - Serve a RESTful API from any PostgreSQL database

Install

go install github.com/prest/prest

Run

Params:

- PREST\_HTTP_PORT (default 3000)
- PREST\_PG_HOST (default 127.0.0.1)
- PREST\_PG_USER
- PREST\_PG_PASS
- PREST\_PG_DATABASE
- PREST\_PG_PORT
- PREST\_JWT_KEY

```
PREST_PG_USER=postgres PREST_PG_DATABASE=prest PREST_PG_PORT=5432 PREST_HTTP_PORT=3010 prest # Binary installed
```

pREST also can be used as web framework, to see more details please visit https://postgres.rest/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL