Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Latest commit

 

History

History
55 lines (39 loc) · 3.39 KB

README.md

File metadata and controls

55 lines (39 loc) · 3.39 KB

robototes-website-api

Build Status David Codecov branch codebeat badge Greenkeeper badge JavaScript Style Guide GO ROBOTOTES!

About

This repository is a Docker microservice that exposes endpoints to manipulate data that will be processed by other microservices, including robototes-website-web and robototes-website-team. Currently, our only endpoint is a The Blue Alliance webhook.

For common documentation regarding the requirements, upkeep, and testing of our microservices, please see our global documentation. Sections regarding microservice-specific configuration, features, and differences in commands can be found below.

The following environment variables can be set, the server will not start without the ones marked required:

  • IP (required, default 0.0.0.0) The IP to run the server on
  • PORT (required, default 3000) The port to listen for requests on
  • DOMAIN (required) The second-level domain that the server resides on
  • DEBUG (optional) see Debug mode
  • TBA_SECRET_KEY (required) The secret key used to verify the source and integrity of payloads from The Blue Alliance
  • DATABASE_HOST (required) The IP address that the MongoDB server is listening on
  • DATABASE_PORT (required) The port that the MongoDB server is listening on

Debug mode does not change the behavior of any endpoints, but the debug module is still in use. The recommended debug filter for this project is robototes-website-api:*,http.

The Blue Alliance is a service provided free of charge to FRC teams for scouting, watching, and reliving the FIRST Robotics Competition. One such feature in particular that we use is a subscription to webhooks that provide us with realtime event updates. We use these webhooks to build a customized feed for our users with all events regarding our team.

Maintainers

@dannytech and @TAKBS2412

Contributing/Vulnerability disclosure

See our common CONTRIBUTING.md