Skip to content

Full-Stack Support Missing in jac-scale Server #3481

@kugesan1105

Description

@kugesan1105

jac serve with jac-scale doesn't render client pages - Full-stack endpoints not working

When running jac serve with both jac scale and jac client installed, the server fails to serve full-stack applications properly. Backend API endpoints (Swagger) work correctly, but client-side rendering endpoints return 404 errors.

Current State:

1. Users cannot run full-stack Jac applications with `jac-scale`
2. Must choose: either backend-only (jac-scale) OR full-stack (jac-client's base server)
3. No way to use FastAPI's Swagger UI alongside client pages

Why It Fails in jac scale

The JacApiServer in server.py overrides the base server and uses FastAPI instaed of HTTPServer.
No client endpoints are being registered

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions