Skip to content

[fluxgate-studio] admin service#2

Merged
rojae merged 10 commits into
mainfrom
feature/fluxgate-admin-initlize
Dec 15, 2025
Merged

[fluxgate-studio] admin service#2
rojae merged 10 commits into
mainfrom
feature/fluxgate-admin-initlize

Conversation

@rojae
Copy link
Copy Markdown
Contributor

@rojae rojae commented Dec 15, 2025

Implemented first issue (#1 )

Backend (Spring Boot)

  • Add spring-boot-starter-oauth2-resource-server
  • Create SecurityConfig.java - JWT validation, Keycloak role mapping, CORS

Frontend (Next.js)

Setup next-auth with Keycloak provider

  • Create src/lib/auth.ts, src/middleware.ts
  • Auto-attach Authorization header to API calls
  • Implement login/logout UI

Infrastructure

  • docker/keycloak.yml - Keycloak container
  • docker/fluxgate-realm.json - Realm/Client/Users config

Test Accounts

  • admin / admin (admin, user roles)
  • user / user (user role)

Documentation

  • README.md (English), README.ko.md (Korean)
  • Architecture, features, stack, quickstart, env vars, API docs

  - Add Spring Boot Admin API for rate limit rule management
    - REST API for CRUD operations on rules
    - Spring Security OAuth2 Resource Server for JWT validation
    - MongoDB integration via fluxgate-mongo-adapter
    - Swagger/OpenAPI documentation

  - Add Next.js Admin UI
    - Dashboard with rule statistics
    - Rule management (create, edit, delete, toggle)
    - Keycloak OAuth2 authentication via NextAuth.js
    - Dark/Light theme support
    - Responsive design with Tailwind CSS

  - Add Keycloak configuration
    - Docker Compose for local development
    - Pre-configured realm with test users

  - Add project documentation
    - README.md (English)
    - README.ko.md (Korean)

  - Add GitHub Actions workflow for CI build
  - Add Spring Boot Admin API for rate limit rule management
    - REST API for CRUD operations on rules
    - Spring Security OAuth2 Resource Server for JWT validation
    - MongoDB integration via fluxgate-mongo-adapter
    - Swagger/OpenAPI documentation

  - Add Next.js Admin UI
    - Dashboard with rule statistics
    - Rule management (create, edit, delete, toggle)
    - Keycloak OAuth2 authentication via NextAuth.js
    - Dark/Light theme support
    - Responsive design with Tailwind CSS

  - Add Keycloak configuration
    - Docker Compose for local development
    - Pre-configured realm with test users

  - Add project documentation
    - README.md (English)
    - README.ko.md (Korean)

  - Add GitHub Actions workflow for CI build
@rojae rojae added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 15, 2025
@rojae rojae merged commit 9ff677e into main Dec 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant