Add first version of the frontend

As of now the only usable functionality is signin in/out and managing
authorized users, and even then there is much room for improvement.

Change-Id: Ib87fc6866f69113a230187710de8644b78391917
34 files changed
tree: c23fbccd6808f7c15a0cdf0f5d52ca6fd319827e
  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.