Giter Club home page Giter Club logo

ogn-web-gateway's Introduction

ogn-web-gateway

Build Status

OpenGliderNet Web-Gateway

This project contains a webserver that connects to the OpenGliderNet, saves the received records to a database for 24 hours and relays all data to any connected WebSocket clients.

Installation & Usage

ogn-web-gateway is using the in-memory database Redis as the data store for the History API. Before attempting to install ogn-web-gateway make sure to have a working Redis server running.

Next, you should clone this repository using git:

git clone https://github.com/Turbo87/ogn-web-gateway.git

Before continuing make sure to set the REDIS_URL environment variable so that ogn-web-gateway known what Redis server it should try to connect to:

export REDIS_URL=redis://localhost

Finally we can use cargo to download all necessary dependencies, compile the application and then run it:

cargo run --release

By default ogn-web-gateway does not produce any console output when running, so don't be surprised. Once it is running you should be able to visit http://127.0.0.1:8080/api/status to verify that everything runs correctly.

API Documentation

For the API documentation please have a look at the docs folder.

License

This project is licensed under either of

at your option.

ogn-web-gateway's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar estk avatar turbo87 avatar

Watchers

 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.