Giter VIP home page Giter VIP logo

kokizzu / postgraphile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from graphile/crystal

0.0 3.0 0.0 15.84 MB

Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!

Home Page: https://graphile.org/postgraphile

Dockerfile 0.05% HTML 0.01% JavaScript 58.38% CSS 0.06% Shell 0.30% TypeScript 37.46% PLpgSQL 3.72% TSQL 0.01%

postgraphile's Introduction

PostGraphile / Graphile Engine monorepo

Patreon sponsor button Discord chat room Follow

Graphile Engine enables you to build high-performance easily-extensible GraphQL schemas by combining plugins. PostGraphile builds on Graphile Engine to helps you craft a best practices GraphQL API backed primarily by your PostgreSQL database in record time.

This monorepo contains the main packages that make up the PostGraphile / Graphile Engine suite.

This is (unreleased) version 5!

IMPORTANT: this master branch shows the in-progress development on version 5 of the Graphile suite. For PostGraphile version 4, see the v4 branch. Version 4 is still alive and well.

Crowd-funded open-source software

To help us develop this software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.

And please give some love to our featured sponsors ๐Ÿคฉ:

Chad Furman
Chad Furman
*
Storyscript
Storyscript
*
Postlight
Postlight
*

* Sponsors the entire Graphile suite

Monorepo Contents

Instant lightning-fast GraphQL API backed primarily by your PostgreSQL database. Highly customizable and extensible thanks to incredibly powerful plugin system.

The core of Graphile Engine: a plugin system that enables you to build a GraphQL schema out of plugins with advanced performance capabilities enabled via GraphQL look-ahead functionality.

A selection of graphile-build plugins related to PostgreSQL: schema introspection, generation of fields and types for all tables, computed columns, query procedures, etc - if there's certain features you don't want, simply don't use that plugin!

A collection of helper utilities to make writing graphile-build plugins easier.

Contains the GraphQL schema functionality of PostGraphile, does not contain the web layer.

Parses a GraphQLResolveInfo object into a tree of the fields that are being requested to enable optimizations to your GraphQL schema (e.g. we use it in graphile-build-pg to determine which fields are required from the SQL database).

Create highly dynamic SQL in a powerful and flexible manner without opening yourself to SQL injection attacks. (High performance.)

Development

Below is a quick-start, for more detailed instructions, please see the CONTRIBUTING.md documentation in PostGraphile.

yarn
yarn watch

yarn watch will keep monitoring and compiling the babel files, so open another terminal to run the tests (Note: your PostgreSQL server must be configured for logical decoding):

createdb graphileengine_test
export TEST_DATABASE_URL="postgres:///graphileengine_test"
createdb lds_test
export LDS_TEST_DATABASE_URL="postgres:///lds_test"
yarn test

If the above succeeds, you're good to go! If not, please try again after running yarn install --force and always feel free to reach out via our discord chat on the #core-development channel.

Working with Docker

If you want to work in a Docker environment you can follow the instructions on the wiki.

postgraphile's People

Contributors

benjie avatar calebmer avatar greenkeeperio-bot avatar mattbretl avatar jemgillam avatar ferdinandsalis avatar singingwolfboy avatar mathroc avatar bradleyayers avatar ab-pm avatar angelosarto avatar dependabot[bot] avatar petetnt avatar langpavel avatar dargmuesli avatar hansololai avatar tim-field avatar snyk-bot avatar srghma avatar valoricde avatar none23 avatar vitaly-t avatar smh avatar nbushak avatar michaelbeaumont avatar mlipscombe avatar speller avatar ashtonsix avatar cbandy avatar enisdenjo avatar

Watchers

James Cloos avatar Kiswono Prayogo avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.