Skip to content

obiba/amber-visit

Repository files navigation

Amber Visit

Amber is the Electronic Data Capture server. Amber Visit is a web interface for collecting the data with interviews:

  • interview with interdependent steps
  • campaign investigators and support interviewers
  • self-administered or assisted interviews

Install the dependencies

yarn

Start the app in development mode (hot-code reloading, error reporting, etc.)

yarn quasar dev

Lint the files

yarn lint

Format the files

yarn format

Build the app for production

yarn quasar build

Environment variable for building the app in production:

  • AMBER_URL, the url of the Amber server, exposing a REST API used by Amber Visit (make sure CORS policy is set correctly on the server)
  • RECAPTCHA_SITE_KEY, the reCAPTCHA v3 site key for the Registration page. If not specified, user self-registration is disabled.
  • PATH_PREFIX, the public path of your app. By default, it uses the root: /. Use it when your public path is something else, like "https://www.example.org/some_path" where the path prefix is /some_path.

Customize the configuration

  • Modify the settings.json file for theming, configure build and overriding translations.
  • Override the src/components/AppBanner.vue file to apply your own banner in front pages (login and forgot password pages).
  • Override the src/css/custom.scss file to apply your own stylesheet rules.

See also Configuring quasar.conf.js.

License

MIT

About

Amber client app for collecting interview data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •