Setup Server Components for Survey Application
server_setup.Rd
Setup the server-side components of the survey application by initializing logging and database operations in the parent environment. Creates a logger instance and establishes database connections with error handling.
Arguments
- session
Shiny session object containing the session token.
- db_config
List. Database configuration parameters:
log_table
: Name of logging tablewrite_table
: Name of survey data table
- app_pool
Database connection pool object from global environment
- survey_logger
Reference class object for logging functionality
- db_ops
Reference class object for database operations