Code Monkey home page Code Monkey logo

ouch-my-finger's Introduction

Ouch! My finger!

BLEEDING EDGE SOFTWARE - be sure to read the production caveats at https://grafast.org/caveats/ and wear appropriate personal protective equipment to protect your fingers from the sharp edges!

Note to use this repo you will need to know the secret from https://grafast.org/caveats/ - which means you'll need to be a sponsor. If you're already a sponsor, ping Jem (on the Graphile Discord, via Twitter, or via email on their first name at graphile.com) and they'll help you get set up.

Quickstart

Install dependencies:

yarn

Run PostGraphile CLI and pass the connection string and schemas:

yarn postgraphile -c postgres:///my_db -s app_public

(Replace postgres:///my_db with your connection string, and app_public with your database schema name.)

Usage

In addition to the quick command line above, you can set your database connection string and schemas as environmental variables or edit the relevant arguments in the makePgSources call in graphile.config.mjs.

# Different syntax may be required depending on your shell
export DATABASE_URL=postgres:///my_db
export DATABASE_SCHEMAS=app_public

Then run PostGraphile CLI with no arguments:

yarn postgraphile

Or run the library mode using an Express server:

node server-express.mjs

Configuration

The configuration is in graphile.config.mjs, details on the configuration file can be read about here:

https://postgraphile.org/postgraphile/next/config

ouch-my-finger's People

Contributors

benjie avatar danielfgray 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.