{"id":50573393,"url":"https://github.com/pratik20gb/flowboard","last_synced_at":"2026-06-04T20:01:56.202Z","repository":{"id":362000878,"uuid":"1256820894","full_name":"pratik20gb/flowboard","owner":"pratik20gb","description":"Full stack project management SaaS - Java Spring Boot + React","archived":false,"fork":false,"pushed_at":"2026-06-02T06:15:02.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-02T07:25:30.690Z","etag":null,"topics":["aws","docker","flyway","github-actions","java","kafka","logback","postgresql","react","redis","spring-boot","spring-security","tailwindcss","zustand"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratik20gb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-06-02T05:50:53.000Z","updated_at":"2026-06-02T06:28:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pratik20gb/flowboard","commit_stats":null,"previous_names":["pratik20gb/flowboard"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pratik20gb/flowboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik20gb%2Fflowboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik20gb%2Fflowboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik20gb%2Fflowboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik20gb%2Fflowboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratik20gb","download_url":"https://codeload.github.com/pratik20gb/flowboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik20gb%2Fflowboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33917184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","docker","flyway","github-actions","java","kafka","logback","postgresql","react","redis","spring-boot","spring-security","tailwindcss","zustand"],"created_at":"2026-06-04T20:01:55.408Z","updated_at":"2026-06-04T20:01:56.195Z","avatar_url":"https://github.com/pratik20gb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlowBoard 🗂️\n\nA full-stack project management SaaS application built with Java Spring Boot and React.\nInspired by Jira — built from scratch to learn industry-grade Java development end to end.\n\n## 🚀 Tech Stack\n\n### Backend\n- **Java 21** — LTS version used in production by most companies\n- **Spring Boot 3** — Industry standard Java framework\n- **Spring Security + JWT** — Stateless authentication with access + refresh tokens\n- **Spring Data JPA + Hibernate** — ORM for database operations\n- **PostgreSQL** — Primary relational database\n- **Flyway** — Database schema versioning and migrations\n- **Redis** — Caching layer for performance\n- **Apache Kafka** — Async event-driven notifications\n- **AWS S3** — File and attachment storage\n\n### Frontend\n- **React 18 + TypeScript** — Type-safe component-based UI\n- **React Query (TanStack)** — Server state management and caching\n- **Axios** — HTTP client\n- **Tailwind CSS** — Utility-first styling\n- **Zustand** — Client-side state management\n- **React Router** — Client-side routing\n\n### DevOps \u0026 Observability\n- **Docker + Docker Compose** — Containerized local development\n- **GitHub Actions** — CI/CD pipeline\n- **Prometheus + Grafana** — Metrics and monitoring dashboards\n- **Logback** — Structured logging\n\n---\n\n## 🏗️ Architecture\n\n```\n┌─────────────────────────────────────────────────────┐\n│              React 18 + TypeScript                   │\n│         React Query · Zustand · Tailwind             │\n└─────────────────────┬───────────────────────────────┘\n                      │ REST / JSON\n┌─────────────────────▼───────────────────────────────┐\n│                Spring Boot 3                         │\n│                                                      │\n│  ┌─────────────┐ ┌──────────────┐ ┌──────────────┐  │\n│  │   Auth      │ │   Project    │ │ Notification │  │\n│  │  Service    │ │   Service    │ │   Service    │  │\n│  └─────────────┘ └──────────────┘ └──────────────┘  │\n│                                                      │\n│  Spring MVC · Spring Data JPA · Spring Security      │\n└──────┬──────────────┬──────────┬────────────┬───────┘\n       │              │          │            │\n┌──────▼───┐  ┌───────▼──┐ ┌────▼────┐ ┌────▼────┐\n│PostgreSQL│  │  Redis   │ │  Kafka  │ │  AWS S3 │\n│ Flyway   │  │  Cache   │ │ Events  │ │  Files  │\n└──────────┘  └──────────┘ └─────────┘ └─────────┘\n```\n\n## 📁 Project Structure\n\n```\nsrc/main/java/com/flowboard/\n├── config/          # Spring configuration (Security, Redis, S3)\n├── controller/      # REST controllers — HTTP layer\n├── service/         # Business logic layer\n├── repository/      # Database access layer\n├── domain/\n│   ├── entity/      # JPA entities (User, Workspace, Board, Task)\n│   └── enums/       # TaskStatus, Priority, Role\n├── dto/\n│   ├── request/     # Incoming request bodies\n│   └── response/    # Outgoing response bodies\n├── exception/       # Custom exceptions + global error handler\n├── security/        # JWT filter + UserDetails implementation\n└── util/            # Helper classes\n\nsrc/main/resources/\n├── db/migration/    # Flyway SQL migrations (V1__, V2__, ...)\n└── application.yml  # Application configuration\n```\n\n## 🛠️ Getting Started\n\n### Prerequisites\n\n- Java 21\n- Docker Desktop\n- Maven (included via `./mvnw` wrapper)\n- Git\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/pratik20gb/flowboard.git\ncd flowboard\n```\n\n### Start infrastructure\n\n```bash\n# Starts PostgreSQL and Redis in Docker\ndocker compose up -d\n```\n\n### Run the application\n\n```bash\n./mvnw spring-boot:run\n```\n\nThe API will be available at `http://localhost:8080`\n\n### Verify it's running\n\n```bash\ncurl http://localhost:8080/api/v1/health\n```\n\nExpected response:\n```json\n{\n  \"status\": \"UP\",\n  \"service\": \"FlowBoard API\",\n  \"version\": \"1.0.0\",\n  \"timestamp\": \"2026-06-02T...\"\n}\n```\n\n---\n\n## 🔌 API Endpoints\n```\n### Authentication\nPOST   /api/v1/auth/register     # Create a new account\nPOST   /api/v1/auth/login        # Login and get JWT tokens\nPOST   /api/v1/auth/refresh      # Refresh expired access token\n### Workspaces\nGET    /api/v1/workspaces        # List all workspaces\nPOST   /api/v1/workspaces        # Create a workspace\nGET    /api/v1/workspaces/{id}   # Get workspace by ID\nPUT    /api/v1/workspaces/{id}   # Update workspace\nDELETE /api/v1/workspaces/{id}   # Delete workspace\n### Boards\nGET    /api/v1/workspaces/{id}/boards    # List boards in workspace\nPOST   /api/v1/workspaces/{id}/boards   # Create a board\nGET    /api/v1/boards/{id}              # Get board by ID\nDELETE /api/v1/boards/{id}              # Delete board\n### Tasks\nGET    /api/v1/boards/{id}/tasks        # List tasks on a board\nPOST   /api/v1/boards/{id}/tasks        # Create a task\nGET    /api/v1/tasks/{id}               # Get task by ID\nPUT    /api/v1/tasks/{id}               # Update task\nPATCH  /api/v1/tasks/{id}/status        # Update task status only\nDELETE /api/v1/tasks/{id}               # Delete task\n### Health \u0026 Monitoring\nGET    /api/v1/health            # Application health check\nGET    /actuator/health          # Spring Actuator health\nGET    /actuator/metrics         # Application metrics\n---\n```\n## 📊 Project Status\n\n| Phase | Description | Status |\n|-------|-------------|--------|\n| Phase 1 | Project setup, Docker, Flyway, Health endpoint | ✅ Complete |\n| Phase 2 | JWT Authentication — register, login, refresh | 🔄 In Progress |\n| Phase 3 | Core domain — workspaces, boards, tasks | ⏳ Pending |\n| Phase 4 | Redis caching + AWS S3 file uploads | ⏳ Pending |\n| Phase 5 | Kafka events + email notifications | ⏳ Pending |\n| Phase 6 | Testing — JUnit, Mockito, Testcontainers | ⏳ Pending |\n| Phase 7 | React frontend + CI/CD + Grafana | ⏳ Pending |\n\n---\n```\n## 🔐 Authentication Flow\nPOST /auth/register\n→ Password hashed with BCrypt\n→ User saved to PostgreSQL\n→ Access token (15 min) + Refresh token (7 days) returned\nPOST /auth/login\n→ Email + password verified\n→ New access + refresh tokens returned\nEvery protected request\n→ Authorization: Bearer \u003caccess_token\u003e header required\n→ JWT filter validates signature and expiry\n→ 401 Unauthorized if missing or invalid\n```\n## 🐳 Docker Services\n\n| Service | Image | Port |\n|---------|-------|------|\n| PostgreSQL | postgres:16-alpine | 5432 |\n| Redis | redis:7-alpine | 6379 |\n\n---\n\n## 📝 Database Migrations\n\nManaged by Flyway. Migration files live in `src/main/resources/db/migration/`.\n\n| Version | Description |\n|---------|-------------|\n| V1 | Create users table |\n\nNew migrations are added as `V2__description.sql`, `V3__description.sql` etc. Never edit an existing migration file.\n\n---\n\n## 🧪 Testing Strategy\n\n- **Unit tests** — JUnit 5 + Mockito for service layer\n- **Integration tests** — Testcontainers (real PostgreSQL in Docker)\n- **API tests** — MockMvc for controller layer\n- **Coverage target** — 80%+\n\n---\n\n## 📈 Monitoring\n\nOnce Phase 7 is complete:\n- Prometheus scrapes metrics from `/actuator/prometheus`\n- Grafana dashboard visualizes request rates, response times, error rates\n- Structured logs via Logback with timestamp, thread, level, and class\n\n---\n\n## 🤝 Contributing\n\nThis is a personal learning project. Feel free to fork it and build your own version.\n\n---\n\n## 👨‍💻 Author\n\n**Pratik** — [@pratik20gb](https://github.com/pratik20gb)\n\nBuilt as a complete full-stack Java learning project — from zero to production-grade.\n\n---\n\n## 📄 License\n\nMIT License — free to use and learn from.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratik20gb%2Fflowboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratik20gb%2Fflowboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratik20gb%2Fflowboard/lists"}