Skip to content

agudovitoria/metabase-nodejs-poc

Repository files navigation

metabase-react-poc

Proof of Concept for Metabase analytics tool use proposal

This Proof of Concept is non production ready project, so is not recommended use it on public server any kind.

Requirements

This PoC is developed on Node v12.22.1 using Docker containers, so is recommended keep this instructions to make it work properly.

  • Node v12+
  • Docker
  • Yarn package manager (recommended)

Steps to deploy project on local machine:

  1. Clone this repository
  2. Download needed Docker containers or install on services

    Remember create a new database and collection to use

    • Metabase OSS
      • docker run -d -p 3000:3000 --name metabase-analytics-tool metabase/metabase

    Use MongoDB database and collection to configure data source

  3. Configure required environment variables

    Can add an .envfile to the project root to define this variable values.

    • SERVER_PORT: Port to listen browser connections
    • MONGO_HOST: MongoDB service host
    • MONGO_PORT: MongoDB service port
    • MONGO_DB: Database name
  4. Enter in project folder on a terminal
  5. Execute yarn install on it
  6. Execute yarn start
  7. Open App in browser (localhost:$SERVER_PORT) to send test events
  8. Open Metabase in browser (localhost:3000) to see event metrics

Dashboards

App dashboard Metabase metrics

About

PoC to investigate how to use Metabase analytics tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published