Code Monkey home page Code Monkey logo

minimal-galia-js-client's Introduction

Minimal Galia Client in Javascript

This is a minimal implementation of a client written in Javascript for Galia.

It is intended to showcase how one can receive the results from async optimizations sent to Galia.

It implements both the webhook and the websocket interfaces.

How to run:

  1. Make sure you have nodejs installed on your machine: https://nodejs.org/en/download/
  2. Make sure you have yarn installed on your machine: https://classic.yarnpkg.com/en/docs/install
  3. Edit the .env file with the correct values for your specific environment
    • GALIA_HOST: Galia host
    • GALIA_PORT: Galia port
    • MY_HOST: Host of this (client) application
    • MY_PORT: Port of this (client) application
    • APPLICATION_ID: Identifier of the Galia application you want to access
    • ACCESS_TOKEN: Bearer access token (get this by loging in to Galia)
  4. Go to root folder of the Minimal Client
  5. Install the dependencies: yarn install
  6. Launch the server: node index.js

minimal-galia-js-client's People

Contributors

vitornesello avatar

Stargazers

 avatar

Watchers

Guillaume Marques avatar  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.