servflow-pro
v0.2.1
Published
ServFlow Pro - API management and testing tool
Readme
ServFlow Pro
ServFlow Pro is an advanced API workflow orchestration platform that provides enterprise features and enhanced performance capabilities for production environments.
Quick Start
- Create a configuration file:
cp config.example.toml config.toml- Edit
config.tomlwith your settings:
[server]
port = "8080"
config_folder = "./api-configs"
integrations_file = "./integrations.yaml"
env = "production"
[dashboard]
port = "3000"- Start the server:
# Server only
./servflow-pro start --config config.toml
# Server with dashboard
./servflow-pro start --config config.toml --dashboardConfiguration
ServFlow Pro uses TOML configuration files. All settings are centralized in a single configuration file.
Configuration Structure
[server]
port = "8080" # Server port
config_folder = "./api-configs" # Directory containing API YAML files
integrations_file = "./integrations.yaml" # Integrations configuration (optional)
env = "production" # Environment
[dashboard]
port = "3000" # Dashboard port
configs_folder = "./api-configs" # Dashboard configs directory (optional)Required Settings
server.config_folder: Directory containing your API configuration YAML files
Optional Settings
server.port: Defaults to "8080"server.integrations_file: Path to integrations configurationserver.env: Defaults to "production"dashboard.port: Defaults to "3000"dashboard.configs_folder: Defaults toserver.config_folder
Usage
Start Command
servflow-pro start --config <path-to-config.toml> [--dashboard [port]]Options:
--config, -c: Path to TOML configuration file (required)--dashboard: Start dashboard interface (uses port from config file)
Examples:
# Server only
servflow-pro start --config config.toml
# Server with dashboard
servflow-pro start --config config.toml --dashboardDashboard
The dashboard provides a web interface for:
- Visual workflow building
- API configuration management
- Real-time workflow execution
- Integration testing
Access the dashboard at http://localhost:<dashboard-port> when enabled.
Create a config.toml file with your previous settings:
[server]
port = "8080"
config_folder = "./api-configs"
integrations_file = "./integrations.yaml"
[dashboard]
port = "3000"Project Structure
servflow-pro/
├── cmd/ # CLI commands
├── dashboard/ # Web dashboard
├── pkg/ # Core packages
├── config.example.toml # Example configuration
└── README.mdDevelopment
Building
go build -o servflow-proTesting
go test ./...License
ServFlow Pro - Professional API workflow orchestration platform.
