8000 GitHub - hezhangjian/Ontology: Ontology is an open Data & AI platform that connects data, decisions, and operations with trusted business context for apps, models, and AI agents. · GitHub
[go: up one dir, main page]

Skip to content
hezhangjianPublic

About

Ontology is an open Data & AI platform that connects data, decisions, and operations with trusted business context for apps, models, and AI agents.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Ontology

Ontology is an open Data and AI platform.

It provides trusted business context for applications, models, and AI agents—connecting data, decisions, and operations.

Quick start

Serve the application

Install the dependencies, then build and serve the portal and backend with Maven and JDK 25:

pnpm install
pnpm serve

pnpm serve builds the portal, packages it into target/ontology.jar, and runs the Spring Boot server on 0.0.0.0:4242. Open http://localhost:4242 locally or http://<server-ip>:4242 from another machine. The portal and /api/v1 API share the same origin. Management endpoints are under /api/actuator, including /api/actuator/health and /api/actuator/info. Press Ctrl+C to stop the server.

To run the existing build without rebuilding:

java -jar target/ontology.jar --server.address=0.0.0.0

The default database is in-memory H2. For persistent data, configure POSTGRES_PASSWORD, POSTGRES_URL, and POSTGRES_USER, then run SPRING_PROFILES_ACTIVE=postgres pnpm serve.

Simple ontology development

Use pnpm to start the portal and backend with hot reload:

pnpm install
pnpm dev:all

The portal is available at http://localhost:5173, and the backend is available at http://localhost:4242. Vite proxies /api requests to the backend during development. Set VITE_API_BASE_URL only when using a separate API origin.

Full local stack

Use Docker Compose when you need all local infrastructure components:

docker compose -f docker/docker-compose.yml up -d

Stop the full local stack:

docker compose -f docker/docker-compose.yml down

Documentation

See docs/README.md for project documentation.

API Contracts

See openapi/README.md for REST API contracts and authoring guidance.

About

Ontology is an open Data & AI platform that connects data, decisions, and operations with trusted business context for apps, models, and AI agents.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0