Skip to content

marceldupr/GovUkWizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GovUk Wizard Prototype

A generic 'Survey', 'Wizard' or 'Questionnaire' using the GovUK toolkit. This metadata driven application can easily be used to drive the UI by code and enable rapid development of surveys or data gathering 'Wizards'. This includes executing validation and even business rules with outcomes after the survey is completed.

Prerequisites

  • Visual Studio or Jetbrains Rider
  • .NET Core 3.1 SDK
  • Node
  • NPM
  • Python 2.7
  • Ruby

Add AppSecrets to your project

{
  "BasicAuth": {
    "UserName": "internal",
    "Password": "test"
  }
}

add your own password and store as secret.json. Then run the following command in the project folder

secret.json cat | dotnet user-secrets set

or on windows simply use Visual Studio and right click on the project and choose 'manage secrets'

Set up

Install the frontend dependencies by running the following from the project folder:

npm install

Build the solution, either within Visual Studio, or running the following .NET Core CLI command from the solution directory:

dotnet build

Build the frontend assets (compiled JS and CSS) by running the following from the project folder:

npm run buildDev

Run the web application through Visual Studio, or running the following .NET Core CLI command from the solution directory:

dotnet run

About

The Gov UK Wizard guides the user through a sequence of questions towards a conclusion, whilst hiding the underlying state or complexity.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published