graphql-prefab-exe

0.2.1 • Public • Published

graphql-prefab-exe

Installation

yarn add graphql-prefab-exe or download the latest from releases

Usage

GraphQL Prefab supplies prebuilt executables for painless cross platform servers. No boilerplate. No code. Just GraphQL.

# Install curl
RUN apt-get update && apt-get install -y \
curl

# Install gql prefab binary
RUN curl -L https://github.com/jdolle/graphql-prefab/releases/download/0.0.2/graphql-prefab.linux-x64-9.5.0 > bin/graphql-prefab
RUN chmod +x bin/graphql-prefab

# Expose gql prefab default port
EXPOSE 4000
WORKDIR /path/to/schema
CMD bin/graphql-prefab

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-prefab-exe

Weekly Downloads

6

Version

0.2.1

License

MIT

Unpacked Size

2.56 kB

Total Files

5

Last publish

Collaborators

  • jdolle