Coder Social home page Coder Social logo

vpolouchkine / build-a-supergraph-subgraph-b Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apollosolutions/build-a-supergraph-subgraph-b

0.0 0.0 0.0 160 KB

License: MIT License

Shell 0.26% TypeScript 73.89% Smarty 22.54% Dockerfile 3.31%

build-a-supergraph-subgraph-b's Introduction

build-a-supergraph-subgraph-b

This is a work-in-progress repo and small part of the Apollo Solutions build-a-supergraph workshop.

Please watch the main repo for any updates and official releases.


The code in this repository is experimental and has been provided for reference purposes only. Community feedback is welcome but this project may not be supported in the same way that repositories in the official Apollo GraphQL GitHub organization are. If you need help you can file an issue on this repository, contact Apollo to talk to an expert, or create a ticket directly in Apollo Studio.

Set up steps

To get the subgraph running locally please do the following steps:

  1. npm install
  2. npm run build

At this point you should be able to run npm run start to run the server locally.

local development

When doing changes locally npm run watch will watch both the server and the TypeScript files.

Docker build/run

Please follow the fowling steps to build and run this though docker:

  1. docker build . -t ghcr.io/GITHUB_USER_NAME/subgraph-b - build command
  2. docker run -p 4000:4000 --name subgraph-b -t ghcr.io/GITHUB_USER_NAME/subgraph-b - run command

Open Telemetry Tracing

This repo is set up with Open Telemetry traces. Please add or change the variable of OTEL_HTTP_ENDPOINT in the .env file.

Helm chart notes

  • Make sure your docker image is public. If its not public the deploy will fail because it wont be able to pull the image.
  • Please update the repo name in deploy/subgraph-b/values.yaml on line 4.

Setting up github container registry

github guide

build-a-supergraph-subgraph-b's People

Contributors

dependabot[bot] avatar kschrade avatar lennyburdette avatar lleadbet 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.