{"id":23923980,"url":"https://github.com/confusedgustas/forum","last_synced_at":"2026-04-13T14:31:45.986Z","repository":{"id":271104857,"uuid":"912389083","full_name":"confusedGustas/Forum","owner":"confusedGustas","description":"Retro Forum Website. Java Spring Boot, React, Prometheus, Grafana, KeyCloak, Docker, PostgreSQL.","archived":false,"fork":false,"pushed_at":"2025-12-02T14:38:22.000Z","size":631,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-03T01:39:52.924Z","etag":null,"topics":["backend","ci","docker-compose","frontend","grafana","junit5","keycloak","liquibase","maven","mockito","pgadmin","postgresql","prometheus","react","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/confusedGustas.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-05T12:49:40.000Z","updated_at":"2025-12-02T13:49:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"472ce186-b60d-4a46-a834-1be50c6ff3e3","html_url":"https://github.com/confusedGustas/Forum","commit_stats":null,"previous_names":["confusedgustas/forum"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/confusedGustas/Forum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FForum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FForum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FForum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FForum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/confusedGustas","download_url":"https://codeload.github.com/confusedGustas/Forum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FForum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["backend","ci","docker-compose","frontend","grafana","junit5","keycloak","liquibase","maven","mockito","pgadmin","postgresql","prometheus","react","spring-boot"],"created_at":"2025-01-05T18:52:04.749Z","updated_at":"2026-04-13T14:31:45.972Z","avatar_url":"https://github.com/confusedGustas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📖 Table of Contents\n\n1. [🔗 Services \u0026 Access Information](#-services--access-information)\n2. [📝 Environment Variables](#-environment-variables)\n3. [💻 Requirements](#-requirements)\n4. [🚀 Running the Services](#-running-the-services)\n5. [🛠 Setting Up PostgreSQL in pgAdmin](#-setting-up-postgresql-in-pgadmin)\n6. [📊 Monitoring Services](#-monitoring-services)\n7. [👥 Project Contributors](#-project-contributors)\n\n---\n\n## 🔗 Services \u0026 Access Information\n\n| 🛠 Service                 | 🌍 URL / Port                                                                                  | 👤 Username       | 🔑 Password  |\n|----------------------------|------------------------------------------------------------------------------------------------|-------------------|--------------|\n| **Spring Boot**            | `http://localhost:8080`                                                                        | `admin`           | `admin`      |\n| **Keycloak**               | [http://localhost:8181](http://localhost:8181)                                                 | `admin`           | `admin`      |\n| **pgAdmin**                | [http://localhost:8282](http://localhost:8282)                                                 | `admin@gmail.com` | `admin`      |\n| **Prometheus**             | [http://localhost:9090](http://localhost:9090)                                                 | -                 | -            |\n| **Grafana**                | [http://localhost:9191](http://localhost:9191)                                                 | -                 | -            |\n| **PostgreSQL**             | `localhost:5432`                                                                               | `admin`           | `admin`      |\n| **Keycloak\u003cbr\u003ePostgreSQL** | `localhost:2345`                                                                               | `admin`           | `admin`      |\n| **MinIO UI**               | `Run \"docker logs minio\", find the WebUI link`                                                 | `admin`           | `adminadmin` |\n| **MinIO API**              | `http://localhost:9000`                                                                        | `admin`           | `adminadmin` |\n| **Swagger UI**             | [http://localhost:8080/swagger-ui/index.html#/](http://localhost:8080/swagger-ui/index.html#/) | -                 | -            |\n| **React**                  | [http://localhost:3000](http://localhost:3000)                                                 | -                 | -            |\n\n---\n\n## 📝 Environment Variables\n\n- The environment variables are stored in the `.env` file:\n```sh\nKC_ADMIN_USERNAME=admin\nKC_ADMIN_PASSWORD=admin\n\nSPRING_DATASOURCE_USERNAME=admin\nSPRING_DATASOURCE_PASSWORD=admin\nSPRING_USERNAME=admin\nSPRING_PASSWORD=admin\n\nPGADMIN_DEFAULT_EMAIL=admin@gmail.com\nPGADMIN_DEFAULT_PASSWORD=admin\n\nPOSTGRES_USERNAME=admin\nPOSTGRES_PASSWORD=admin\n\nKC_POSTGRES_USERNAME=admin\nKC_POSTGRES_PASSWORD=admin\n\nMINIO_USERNAME=admin\nMINIO_PASSWORD=adminadmin\nMINIO_SERVER_URL=http://localhost:9000\n\nGOOGLE_APPLICATION_CREDENTIALS=src/main/resources/google.json\nGOOGLE_CLOUD_PROJECT_ID=forum-478311\n```\nMake sure you paste in your Google Vision AI API key in the specified path and set the correct project ID.\nGo to localhost:9001, login with the default MinIO credentials, create a bucket named `forum`, set the bucket policy to `public` instead of `private`\n\n---\n\n## 💻 Requirements\n\nBefore running the project, ensure you have the following installed:\n\n- **Java 17+**\n- **Maven**\n- **Docker**:\n  - [Docker Desktop (Windows and Apple)](https://www.docker.com/products/docker-desktop/)\n  - [OrbStack (Apple only, recommended)](https://orbstack.dev/download)\n- **Node.js 18+** (for React frontend)\n- **npm** or **yarn** (package manager for JavaScript)\n\n---\n\n## 🚀 Running the Services\n\n### 🚢 Start All Services\n\n```sh\ndocker compose up\n```\n\n### 🚀 Start Spring Boot Backend\n\n```sh\n./mvnw spring-boot:run\n```\n\n### 🚀 Start React Frontend\n\nNavigate to the React project directory:\n\n```sh\ncd frontend\n```\n\nInstall dependencies:\n\n```sh\nnpm install\n# or\nyarn install\n```\n\nStart the development server:\n\n```sh\nnpm start\n# or\nyarn start\n```\n\nThe React application will be available at [http://localhost:3000](http://localhost:3000)\n\n---\n\n## 🛠 Setting Up PostgreSQL in pgAdmin\n\n### 1️⃣ Open pgAdmin\n\n- Navigate to [http://localhost:8282](http://localhost:8282)\n- Log in with:\n  - **Username**: `admin@gmail.com`\n  - **Password**: `admin`\n\n### 2️⃣ Register a New Server\n\n- Right-click **Servers** in the Browser panel → **Register** → **Server...**\n\n### 3️⃣ Configure the First Server\n\n- **General Tab**:\n  - Name: `forum`\n- **Connection Tab**:\n  - Host: `host.docker.internal`\n  - Port: `5432`\n  - Username: `admin`\n  - Password: `admin`\n\n### 4️⃣ Register a Second Server\n\n- Follow the same steps above.\n- **General Tab**:\n  - Name: `keycloak`\n\n### 5️⃣ Configure the Second Server\n\n- **Connection Tab**:\n  - Port: `2345`\n  - Host, Username, and Password remain the same.\n\n---\n\n## 📊 Monitoring Services\n\n### 📡 Prometheus\n\n1. Open [http://localhost:9090](http://localhost:9090)\n2. Click **Status** → **Target health** to check monitored targets.\n\n### 📉 Grafana\n\n1. Open [http://localhost:9191](http://localhost:9191)\n2. Click **Dashboards** on the sidebar.\n3. Navigate to **Spring** → **Forum**.\n\n---\n\n## 👥 Project Contributors\n\n- [UgniusSP](https://github.com/UgniusSP)\n- [Antanas4](https://github.com/Antanas4)\n\n---\n\n## 📜 License\n\nThis project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfusedgustas%2Fforum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfusedgustas%2Fforum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfusedgustas%2Fforum/lists"}