Skip to content

foxly-it/rootguard-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡 RootGuard WebApp

License Backend Frontend Docker Status


📌 Overview

RootGuard WebApp is the HTTP API and UI layer of the RootGuard ecosystem.

It exposes infrastructure orchestration capabilities provided by RootGuard Core and delivers a modern web-based control plane for DNS stack management.

The WebApp is intentionally separated from the engine layer to maintain:

  • Clear responsibility boundaries
  • Replaceable transport layers
  • Modular evolution
  • Security isolation

🏗 System Architecture

Browser
   ↓
RootGuard WebApp
   ├── REST API (Go)
   └── UI (React + Vite)
   ↓
RootGuard Core (Engine)
   ↓
Docker / System Services

RootGuard WebApp acts purely as a presentation and API transport layer.


📂 Repository Structure

rootguard-webapp/
├── backend/
│   ├── cmd/
│   │   └── rootguard-webapp/
│   ├── internal/
│   │   ├── httpapi/
│   │   └── unboundctl/
│   └── go.mod
│
├── frontend/
│   ├── src/
│   ├── public/
│   ├── package.json
│   └── vite.config.ts
│
└── Dockerfile

🚀 Local Development

Backend

cd backend
go run ./cmd/rootguard-webapp

Frontend

cd frontend
npm install
npm run dev

🐳 Containerized Deployment

Build Image

docker build -t rootguard-webapp:dev .

Run Container

docker run -p 8080:8080 rootguard-webapp:dev

Test Endpoints

curl http://localhost:8080/health
curl http://localhost:8080/version

🔐 Design Principles

RootGuard WebApp follows strict design constraints:

  • No orchestration logic duplication
  • No direct system-level manipulation
  • API-only exposure of infrastructure actions
  • Minimal runtime surface (distroless container)
  • Deterministic build process

🛣 Roadmap

Planned development stages:

  • Core module integration via Go modules
  • DNS configuration UI
  • Stack deployment interface
  • Live container monitoring
  • Role-based authentication
  • Multi-architecture image builds
  • GitHub Actions CI/CD
  • GHCR image distribution

📜 License

RootGuard WebApp is licensed under the Apache License 2.0.

See the LICENSE file for full details.


⚠ Development Status

This project is currently under active development.

Breaking changes may occur prior to v1.0.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors