FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
A2API/.env.example at main · APIJSON/A2API · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
APIJSON
/
A2API
Public
forked from
TommyLemon/A2API
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
A2API
/
.env.example
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (23 loc) · 1.24 KB
Breadcrumbs
A2API
/
.env.example
Copy path
File metadata and controls
27 lines (23 loc) · 1.24 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
Local APIJSONBoot-MultiDataSource (Node BFF upstream only)
#
Browser → /apijson → chat-demo Node → this URL (JSESSIONID stays in Node)
APIJSON_BASE_URL
=
http://localhost:8080
#
Optional: OpenAI-compatible API for bootstrap refinement
#
Without a key, deterministic intent rules are used (Demo tables still work).
#
You can also set Model / Base URL / API Key from the top-right account menu in the UI.
#
OPENAI_API_KEY=
#
OPENAI_BASE_URL=https://api.openai.com/v1
#
OPENAI_MODEL=gpt-4o-mini
#
OPENAI_LANGUAGE=en
#
Approval policy: comma-separated APIJSON methods that require Admin approval.
#
Other writes (e.g. post/put) auto-execute and store an auto_approved audit row.
#
SENSITIVE_METHODS=delete
PORT
=
3000
#
apps/admin — Apply submit/status + available-requests for chat-demo; approve writes Access/Request/Document/Chain
#
ADMIN_PORT=3001
#
ADMIN_BASE_URL=http://127.0.0.1:3001
#
Admin SPA list/edit Apply/Call → APIJSON Server HTTP; chat-demo → admin BFF for Apply + catalog.
#
Apply once: apps/admin/sql/sys_Apply.sql + sys_Call.sql then reload Access/Request
#
APIJSON admin session used for DB store + approve writes (demo defaults OK for local)
#
APIJSON_ADMIN_LOGIN=13000082001
#
APIJSON_ADMIN_PASSWORD=123456
#
APIJSON_ADMIN_USER_ID=82001
Back
|
FazBrowse Home
|
New Git URL