prest

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 0 Imported by: 0

README

RESTful API pREST

Build Status GoDoc Go Report Card Coverage Status 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/

Directories

Path Synopsis
adapters module
cmd module
prestd Module
config module
controllers module
dbtime module
helpers module
middlewares module
template module
transactions module

Jump to

Keyboard shortcuts

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