Skip to content

Instantly share code, notes, and snippets.

@giansalex
Created November 9, 2018 21:21
Show Gist options
  • Save giansalex/cf6d79302e436d36570ea64dbe160ca0 to your computer and use it in GitHub Desktop.
Save giansalex/cf6d79302e436d36570ea64dbe160ca0 to your computer and use it in GitHub Desktop.
Prest Postgresql API https://postgres.rest/

Install

go get -u github.com/prest/prest

Run

PREST_PG_USER=postgres \
PREST_PG_PASS=123456 \
PREST_PG_DATABASE=postgres \
PREST_PG_PORT=32768 \
PREST_HTTP_PORT=3010 \
PREST_JWT_DEFAULT=false \
prest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment