File size: 974 Bytes
ec94fc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
28
29
30
31
32
33
34
35
36
# ── App ──
APP_NAME=ISP Handbook Service
APP_VERSION=1.0.0
DEBUG=false
PORT=7860

# ── Database (MySQL) ──
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_NAME=handbook
DB_CHARSET=utf8mb4

# ── External API endpoints (source-of-truth JSON APIs) ──
# If set, these override the computed URLs from API_BASE_URL + paths.
HANDBOOK_GENERAL_ENDPOINT=
UNIVERSITY_HANDBOOK_ENDPOINT=

# Base URL of the PHP server hosting the JSON APIs
API_BASE_URL=https://finsapdev.qhtestingserver.com
GENERAL_SECTIONS_PATH=/MODEL_APIS/handbook_general_sections.php
UNIVERSITY_SECTIONS_PATH=/MODEL_APIS/university_handbook.php

# ── Images directory ──
IMAGES_DIR=./images

# ── Fonts directory ──
FONT_DIR=./fonts

# ── CORS allowed origins (comma-separated) ──
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,https://finsapdev.qhtestingserver.com

# ── HTTP timeout for upstream API calls (seconds) ──
HTTP_TIMEOUT=25