Implement an OpenAI-compatible API proxy and user interface
Adds an API server with proxy routes for OpenAI and Anthropic clients, along with a frontend portal to interact with the API. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dcd090ca-935a-42ae-8db4-503e1bbe165a Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 61b72c06-3c4d-47af-a97e-9d527892d9c5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/40608c50-a053-47e8-aa03-1bdcc1a2698b/dcd090ca-935a-42ae-8db4-503e1bbe165a/ZBSB1hW Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
kind = "web"
|
||||
previewPath = "/"
|
||||
title = "API Portal"
|
||||
version = "1.0.0"
|
||||
id = "artifacts/api-portal"
|
||||
router = "path"
|
||||
|
||||
[[integratedSkills]]
|
||||
name = "react-vite"
|
||||
version = "1.0.0"
|
||||
|
||||
[[services]]
|
||||
name = "web"
|
||||
paths = [ "/" ]
|
||||
localPort = 24927
|
||||
|
||||
[services.development]
|
||||
run = "pnpm --filter @workspace/api-portal run dev"
|
||||
|
||||
[services.production]
|
||||
build = [ "pnpm", "--filter", "@workspace/api-portal", "run", "build" ]
|
||||
publicDir = "artifacts/api-portal/dist/public"
|
||||
serve = "static"
|
||||
|
||||
[[services.production.rewrites]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
|
||||
[services.env]
|
||||
PORT = "24927"
|
||||
BASE_PATH = "/"
|
||||
Reference in New Issue
Block a user