All Projects → suzel → docker-postgrest

suzel / docker-postgrest

Licence: MIT license
REST API for any Postgres database (PostgREST Docker Image)

Programming Languages

Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to docker-postgrest

Postgrest
REST API for any Postgres database
Stars: ✭ 18,166 (+82472.73%)
Mutual labels:  postgrest, automatic-api
Tuql
Automatically create a GraphQL server from a SQLite database or a SQL file
Stars: ✭ 526 (+2290.91%)
Mutual labels:  automatic-api
Postgrest Starter Kit
Starter Kit and tooling for authoring REST API backends with PostgREST
Stars: ✭ 657 (+2886.36%)
Mutual labels:  automatic-api
Prest
PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new
Stars: ✭ 3,023 (+13640.91%)
Mutual labels:  automatic-api
Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+5645.45%)
Mutual labels:  automatic-api
general-angular
Realtime Angular Admin/CRUD Front End App
Stars: ✭ 24 (+9.09%)
Mutual labels:  postgrest
Php Crud Api
Single file PHP script that adds a REST API to a SQL database
Stars: ✭ 2,904 (+13100%)
Mutual labels:  automatic-api
Sandman2
Automatically generate a RESTful API service for your legacy database. No code required!
Stars: ✭ 1,765 (+7922.73%)
Mutual labels:  automatic-api
Subzero Starter Kit
Starter Kit and tooling for authoring GraphQL/REST API backends with subZero
Stars: ✭ 136 (+518.18%)
Mutual labels:  automatic-api
effective
Effective: end-to-end encrypted project management for activists and human rights organizations. Making activists 10x more powerful via ultra effective communities of action and autonomous software. [deprecated]
Stars: ✭ 75 (+240.91%)
Mutual labels:  postgrest
Xgenecloud
XgeneCloud is now https://github.com/nocodb/nocodb
Stars: ✭ 1,629 (+7304.55%)
Mutual labels:  automatic-api
Postgraphile
GraphQL is a new way of communicating with your server. It eliminates the problems of over- and under-fetching, incorporates strong data types, has built-in introspection, documentation and deprecation capabilities, and is implemented in many programming languages. This all leads to gloriously low-latency user experiences, better developer experiences, and much increased productivity. Because of all this, GraphQL is typically used as a replacement for (or companion to) RESTful API services.
Stars: ✭ 10,967 (+49750%)
Mutual labels:  automatic-api
postgrest-swift
Swift client for PostgREST
Stars: ✭ 23 (+4.55%)
Mutual labels:  postgrest
Dreamfactory
DreamFactory API Management Platform
Stars: ✭ 1,148 (+5118.18%)
Mutual labels:  automatic-api
Supabase
The open source Firebase alternative. Follow to stay updated about our public Beta.
Stars: ✭ 25,142 (+114181.82%)
Mutual labels:  postgrest
Datasette
An open source multi-tool for exploring and publishing data
Stars: ✭ 5,640 (+25536.36%)
Mutual labels:  automatic-api
ra-data-postgrest
react admin client for postgREST
Stars: ✭ 80 (+263.64%)
Mutual labels:  postgrest
simple-rest-api
😎 A simple RESTful API in three easy steps.
Stars: ✭ 25 (+13.64%)
Mutual labels:  postgrest
postgrest-csharp
A C# Client library for Postgrest
Stars: ✭ 62 (+181.82%)
Mutual labels:  postgrest
PostgREST-writeAPI
Translate your OpenAPI specification into a NGinx config-file to implement your PostgREST system
Stars: ✭ 31 (+40.91%)
Mutual labels:  postgrest

PostgREST Docker Image

Version Build Status Documentation Docker Stars

PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch.

Installation

The easiest way to get this docker image installed is to pull the latest version from the Docker registry:

docker pull suzel/docker-postgrest

or build from source:

git clone https://github.com/suzel/docker-postgrest.git
cd docker-postgrest/
docker build -t suzel/docker-postgrest --build-arg POSTGREST_VERSION=7.0.1 .

Usage

Start your image binding external port 3000 in all interfaces to your container:

docker-compose.yml

version: "3.1"

services:
  # https://github.com/suzel/docker-postgrest
  postgrest:
    build:
      context: .
      args:
        POSTGREST_VERSION: "7.0.1"
    ports:
      - "3000:3000"
    environment:
      PGRST_DB_URI: postgres://app_user:secret@postgres:5432/app_db
      PGRST_DB_SCHEMA: public
      PGRST_DB_ANON_ROLE: app_user
    links:
      - postgres:postgres

  # https://github.com/sosedoff/pgweb
  pgweb:
    image: sosedoff/pgweb
    ports:
      - "8081:8081"
    links:
      - postgres:postgres
    environment:
      - DATABASE_URL=postgres://app_user:secret@postgres:5432/app_db?sslmode=disable
    depends_on:
      - postgres

  # https://hub.docker.com/_/postgres/
  postgres:
    image: postgres:alpine
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: app_db
      POSTGRES_USER: app_user
      POSTGRES_PASSWORD: secret
    volumes:
      - postgres-data:/var/lib/postgresql/data
      # - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql

volumes:
  postgres-data: {}

build and start:

docker-compose up -d --build

You can the visit the following URL in a browser on your host machine to get started:

# Open PostgREST Service
http://localhost:3000/

# Open database browser (pgweb)
http://localhost:8081/

License

The source code is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].