Skip to content

dancrew32/toro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Toro Tables

Toro Tables

Frontend

Install & Run

cd frontend && yarn install && yarn start

Production

To create production, minified build in frontend/dist:

cd frontend && yarn install && yarn prod

Notes

Basic React App with:

  • Client-side routing (Home and "Tables" page).
  • List view for schema & tables with client-side filtering.
  • Toggle for previewing columns on any table in list of tables.
  • Metrics view with what appear to be outlier columns.
  • List & main viewports scroll independently, accessible on mobile devices.

Some TODOs:

  • Better loading states.
  • Error handling for fetch failures.
  • Restructure fetch to store by schema instead of tables.
  • Break apart more compontents to modules.
  • More snapshot tests.
  • Hoist more state into context/reducer.

Backend

Install

cd backend && make venv deps run

Notes

Flask & Jupyter notebook

  • Small flask server with demo payloads.
  • Jupyter lab notebook where I checked out the API, made payload copies.

Some TODOs:

  • Dockerize frontend.
  • Dockerize backend.
  • Create docker-compose.yml file to orchestrate build and prod.