feat: implement QuestionBank CRUD with pagination and template query
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# API base URL (relative path to backend)
|
||||
VITE_API_BASE_URL=/api
|
||||
|
||||
# Allowed hosts for API connection (comma-separated)
|
||||
# Example: VITE_ALLOWED_HOSTS=localhost,127.0.0.1,example.com
|
||||
VITE_ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
||||
|
||||
# Vite server configuration
|
||||
VITE_PORT=13001
|
||||
VITE_HOST=0.0.0.0
|
||||
VITE_BACKEND_URL=http://localhost:3001
|
||||
|
||||
# Interface language (zh, en, ja)
|
||||
VITE_DEFAULT_LANGUAGE=en
|
||||
Reference in New Issue
Block a user