Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: automating dashboard creation through Metabase client #3935

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

zz-hh-aa
Copy link
Collaborator

  • Moved the previous contents into analytics/analyticsLog/-
  • New metabase/ folder in api.planx.uk/modules/analytics/
    • metabase/ has collection/ and dashboard/ directories with house controllers, services, tests and types (following structure / middleware patterns in other modules)
    • Also contains shared/ which client.ts and validation function in types.ts
    • validation/ has a schema.ts [TODO in typing this out I just realised that validation code lives in both folders!]
  • analytics/routes.ts now has routes for all new services
  • docs.yaml includes routes and Swagger docs for all of the new functions. Every service can be run successfully from here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant