Skip to content

javaoffers/Nexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexus

A visual API orchestration platform — design API call flows with drag-and-drop.

Tech Stack

  • Backend: Go (Gin + GORM)
  • Frontend: Vue 3 + TypeScript + Element Plus + D3.js
  • Database: SQLite (default) / MySQL (optional)
  • Cache: In-memory (default) / Redis (optional)

Quick Start

Build & Run

# Build backend
cd server && go build -o nexus-server .

# Run (default port 9127)
./nexus-server

# Build frontend (optional, can run separately during development)
cd console-ui && npm install && npm run build

Configuration

Edit server/config/config.yaml:

server:
  port: 9127

database:
  driver: sqlite    # sqlite or mysql
  sqlite:
    path: ./data/nexus.db
  mysql:
    host: 127.0.0.1
    port: 3306
    database: nexus
    username: root
    password: "123456"

cache:
  type: memory      # memory or redis
  redis:
    addr: "127.0.0.1:6379"

Docker

docker build -t nexus .
docker run -p 9127:9127 nexus

Default Account

  • Username: nexus
  • Password: nexus123

Project Structure

├── server/                  # Go backend
│   ├── main.go              # Entry point
│   ├── config/              # Configuration
│   ├── core/
│   │   ├── model/           # Data models
│   │   ├── repository/      # Data access layer
│   │   ├── service/         # Business logic layer
│   │   ├── handler/         # HTTP handlers
│   │   ├── middleware/       # Middleware (JWT/Token/CORS)
│   │   ├── engine/          # Flow orchestration engine
│   │   └── cache/           # Cache abstraction layer
│   ├── pkg/                 # Common utilities
│   ├── router/              # Route registration
│   └── db/                  # Database initialization
├── console-ui/              # Vue frontend
├── Dockerfile
├── docker-compose.yml
└── README.md

License

GPLv3

About

Distributed Rpc operator orchestration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors