tomickigrzegorz / docker-postgresql-postgraphile

🐘Project template to build a GraphQL API using Docker, PostgreSQL and Postgraphile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-PostgreSQL-Postgraphile

Tutorial to build a GraphQL API using Docker, PostgreSQL and Postgraphile.

Architecture

Requirements

This project requires to have Docker and Docker Compose installed on your machine. To install them follow the steps described here: Requirements

Tutorial

To rebuild this project from scratch, follow the tutorial on the Wiki

Run

To run the project database and GraphQL API with the current data model, simply go to the project root and execute the following command:

$ cd docker-postgresql-postgraphile

# Start containers
$ docker-compose up

You can navigate to the following URL to access GraphiQL, the interactive documentation of your API:

  • Linux: http://localhost:5433/graphiql
  • Windows Pro: http://localhost:5433/graphiql
  • Windows Home: http://<your_docker_ip>:5433/graphiql, you can get <your_docker_ip> with the command docker-machine ip

About

🐘Project template to build a GraphQL API using Docker, PostgreSQL and Postgraphile

License:Apache License 2.0


Languages

Language:Dockerfile 100.0%