Documentation ¶
Overview ¶
pREST - Serves a RESTful API from any SQL database
Install
go install github.com/hitlyl/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 ```
Directories ¶
Path | Synopsis |
---|---|
mockgen
Package mockgen is a generated GoMock package.
|
Package mockgen is a generated GoMock package. |
lib
|
|
src
nolint all plugins must have their package name as `main` each plugin is isolated at compile time
|
nolint all plugins must have their package name as `main` each plugin is isolated at compile time |
src/middlewares
nolint all plugins must have their package name as `main` each plugin is isolated at compile time
|
nolint all plugins must have their package name as `main` each plugin is isolated at compile time |
Click to show internal directories.
Click to hide internal directories.