Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.45 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.45 KB

Hive

Collaborative event planning platform with Postgresql + Express.js + Next.js. With Prometheus metrics and Grafana dashboard


image image image image image image image image image

Prerequisites

  • Node
  • Docker

Run the application

After cloning this repo

Run the database, API server and metric dashboard

cd Hive
docker compose up

Make a POST request to "http://localhost:8000/api/setup" to setup all the tables, functions and triggers in the Postgresql Database (cURL not necessary, any kind client for sending a request will work)

curl -X POST http://localhost:8000/api/setup

Run the frontend

cd frontend
npm install
npm run dev

View application at http://localhost:3001

View metric dashboard at http://localhost:3000. Also add prometheus as a data source to grafana and configure your dashboard.