Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

sg-c/presto-stats

 
 

Repository files navigation

Presto Visualizer

Backend Service

The backend service is based on https://github.com/99designs/gqlgen

Start the server

go run server.go -dataPath=${stats_data_path}

Play Ground of GraphQL

Visit http://localhost:8888/

Define GraphQL Schema

The schema is defined at ${project_root}/graph/schema.graphqls More details: https://graphql.org/

Generate GraphQL code

Run the command below once you finish the change on ${project_root}/graph/schema.graphqls

go run github.com/99designs/gqlgen generate

Frontend UI

The frontend UI is built on react.

Note: the frontend project is located at ${project_root}/dashboard-ui

Start

cd dashboard-ui
yarn start

Visit http://localhost:3000 , you would see the UI of Presto Visualizer

Depanencies

  • Frontend Framework: React
  • UI component: Reactramp
  • State management: Redux
  • GraphQL client: apollo graphql
  • Chart: ApexChart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 76.5%
  • JavaScript 17.5%
  • Go 5.6%
  • HTML 0.4%