PostgreSQL
Using the Postgres storage engine you can use any Postgres based database as your ngSurvey backend.
Requirements
To install ngSurvey on a Postgres database you will need to meet following requirements
Postgres version 16.x or above.
User used to connect to the Postgres server must have enough privileges to to create a new database.
NGSurvey configuration
In order to configure ngSurvey to work with Postgres you need to setup following environment variables.
ConnectionStrings:NGSurveyDB
holds your connection string to your Postgres server.NGSurvey:StorageEngine
must be set to Postgres.
Health check
Once you have configured your database settings you may re-start the web service hosting ngSurvey. NGSurvey will automatically setup the database will all the required tables.
You may also check if your installation is properly setup using following link : https://yourrootsite/api/system/status
Last updated
Was this helpful?