{"id":18521376,"url":"https://github.com/ams003010/hive","last_synced_at":"2025-05-14T17:36:31.027Z","repository":{"id":258065302,"uuid":"873337707","full_name":"AMS003010/Hive","owner":"AMS003010","description":"A seamless, collaborative event planning platform powered by PostgreSQL, Express.js, and Next.js. Organize events, track participants, and monitor real-time metrics with Grafana \u0026 Prometheus. 🚀","archived":false,"fork":false,"pushed_at":"2025-03-31T08:32:00.000Z","size":3169,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T09:30:54.740Z","etag":null,"topics":["event-planning","expressjs","grafana-dashboard","nextjs","postgresql","prometheus"],"latest_commit_sha":null,"homepage":"https://hiveapp.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AMS003010.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T02:01:21.000Z","updated_at":"2025-03-31T08:32:04.000Z","dependencies_parsed_at":"2025-03-18T05:38:00.984Z","dependency_job_id":null,"html_url":"https://github.com/AMS003010/Hive","commit_stats":null,"previous_names":["ams003010/hive"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMS003010%2FHive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMS003010%2FHive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMS003010%2FHive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMS003010%2FHive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AMS003010","download_url":"https://codeload.github.com/AMS003010/Hive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254195239,"owners_count":22030479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["event-planning","expressjs","grafana-dashboard","nextjs","postgresql","prometheus"],"created_at":"2024-11-06T17:25:33.817Z","updated_at":"2025-05-14T17:36:31.020Z","avatar_url":"https://github.com/AMS003010.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hive\n\nCollaborative event planning platform built with PostgreSQL, Express.js, and Next.js, featuring Prometheus metrics and a Grafana dashboard for monitoring.\n\n---\n\n## 🚀 Features\n- **Collaborative Event Planning**: Manage events, participants, volunteers, and organizers.\n- **Real-time Metrics \u0026 Monitoring**: Integrated with Prometheus and Grafana.\n- **Scalable Architecture**: Built using Docker, PostgreSQL, Express.js, and Next.js.\n- **Deployment Ready**: Hosted on Vercel and Koyeb.\n\n---\n\n## 🏗️ Built With\n\n| Technology | Description |\n|------------|-------------|\n| **[Node.js](https://nodejs.org/)** | JavaScript runtime for backend development |\n| **[Express.js](https://expressjs.com/)** | Web framework for Node.js |\n| **[PostgreSQL](https://www.postgresql.org/)** | Relational database management system |\n| **[pg](https://www.npmjs.com/package/pg)** | ORM for PostgreSQL |\n| **[Next.js](https://nextjs.org/)** | React framework for frontend development |\n| **[Grafana](https://grafana.com/)** | Monitoring and observability platform |\n| **[Prometheus](https://prometheus.io/)** | Time-series monitoring system |\n| **[Docker](https://www.docker.com/)** | Containerization platform |\n\n---\n\n## 📌 Prerequisites\nEnsure you have the following installed before running the application:\n- [Node.js](https://nodejs.org/)\n- [Docker](https://www.docker.com/)\n\n---\n\n## 🛠️ Setup \u0026 Installation\n\n### 1️⃣ Clone the Repository\n```sh\n git clone https://github.com/AMS003010/Hive.git\n cd Hive\n```\n\n### 2️⃣ Start the Backend (Database, API, and Metrics Dashboard)\n```sh\ndocker compose up\n```\n\n### 3️⃣ Initialize the Database\nMake a POST request to setup all the tables, functions, and triggers in PostgreSQL:\n```sh\ncurl -X POST http://localhost:8000/api/setup\n```\n*(Any API client like Postman or Insomnia can be used.)*\n\n### 4️⃣ Start the Frontend\n```sh\ncd frontend\nnpm install\nnpm run dev\n```\n\n### 5️⃣ Access the Application\n- **Web App**: [http://localhost:3001](http://localhost:3001)\n- **Metrics Dashboard**: [http://localhost:3000](http://localhost:3000)  \n  *(Add Prometheus as a data source in Grafana and configure your dashboard.)*\n\n---\n\n## 📸 Screenshots\n\n| Home | Login | Signup |\n|------|-------|--------|\n| ![Home](https://github.com/AMS003010/Hive/blob/main/images/home.png) | ![Login](https://github.com/AMS003010/Hive/blob/main/images/login.png) | ![Signup](https://github.com/AMS003010/Hive/blob/main/images/signup.png) |\n\n| Admin Dashboard | Stats | Filter |\n|----------------|-------|--------|\n| ![Admin Dashboard](https://github.com/AMS003010/Hive/blob/main/images/admin-dashbaord.png) | ![Stats](https://github.com/AMS003010/Hive/blob/main/images/stats.png) | ![Filter](https://github.com/AMS003010/Hive/blob/main/images/filter.png) |\n\n| Event Page 1 | Event Page 2 | Metrics |\n|-------------|-------------|---------|\n| ![Event 1](https://github.com/AMS003010/Hive/blob/main/images/event-1.png) | ![Event 2](https://github.com/AMS003010/Hive/blob/main/images/event-2.png) | ![Metrics](https://github.com/AMS003010/Hive/blob/main/images/metrics.png) |\n\n---\n\n## 🌍 Deployment\nProject Hive is deployed at:\n- **Frontend**: [Hive on Vercel](https://hiveapp.vercel.app/)\n- **Backend \u0026 Database**: Hosted on [Koyeb](https://www.koyeb.com/)  \u0026nbsp;\u0026nbsp;(_Sorry can't expose the endpoints, dont want any DDOS_ 😙)\n\n---\n\n## 👨‍💻 Maintainers\nThis project is maintained by [@AMS003010](https://github.com/AMS003010).\n\n---\n\n## 📜 License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## 💡 Contributing\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n---\n\n## 📩 Contact\nFor any queries or issues, feel free to reach out via GitHub Issues.\n\nHappy Coding! 🚀\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fams003010%2Fhive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fams003010%2Fhive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fams003010%2Fhive/lists"}