XGovFormBuilder / digital-form-builder

Exploring how to quickly and easily design/prototype/deploy high quality digital forms for UK Gov. Based on the excellent work by DEFRA. Currently maintained by jen+forms@cautionyourblast.com at Caution Your Blast and a community collaboration between FCDO, HO, GDS, DfE, DIT, Version 1, UKHSA
https://digital-form-builder-designer.herokuapp.com/app
MIT License
55 stars 33 forks source link

Support routing based on domain #493

Open superafroman opened 3 years ago

superafroman commented 3 years ago

Is your feature request related to a problem? Please describe. Currently you can deploy multiple forms within one runner but they must all reside on the same domain.

Describe the solution you'd like Add a configuration option to the form schema that allows you to specify a domain. If specified the form will be served on that domain only. If mulitple forms specify the same domain it should work as it does now by serving each form under it's own path (based on file name).

Describe alternatives you've considered Deploy multiple runners, this is what we do at the moment, but it's inefficient particularly for the long tail of forms.

jenbutongit commented 3 years ago

👋 could you let me know how you're thinking of tackling this? (and when!) - sorry, I don't want to bog you down with bureaucracy. This might affect how we tackle persistence (although we might not look at this for the foreseeable 🥲)

A few things come to mind