Add Kill Switch section

Currently there's a nasty bug which doesn't allow users from navigating
from the "Kill Switch" section to any other section of the app (see bug
twpowertools:59), but everything else is working.

Change-Id: I3c71352b1899e4ddf9ba5886aa1434a5a1ed93eb
10 files changed
tree: e041e3f7310806d8587786ce4dd578e0f456b6f7
  1. api_proto/
  2. cmd/
  3. docker/
  4. frontend/
  5. internal/
  6. schema/
  7. .clang-format
  8. .editorconfig
  9. .gitreview
  10. docker-compose.dev.yml
  11. go.mod
  12. go.sum
  13. Makefile
  14. README.md
README.md

TWPT-server

TWPT-server is the code for the TW Power Tools gRPC server and its frontend.

This repository is under active development, and is not ready yet for production.

Frontend

To serve the frontend, follow these instructions:

  1. Run docker-compose -f docker-compose.dev.yml up to start the gRPC API, database and Envoy proxy (which will translate gRPC-Web <-> gRPC).
  2. Run mysql -u root twpt < schema/*.sql.
  3. Run docker-compose -f docker-compose.dev.yml restart.
  4. Run npm install.
  5. Run make serve.