• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    HTML
  • License
    MIT License
  • Created about 13 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Serves smart answers on GOV.UK

Smart Answers

A tool for content designers to present complex information as a flow of questions, leading to an outcome. While the app is mostly self-contained, some Smart Answers use Whitehall to get data on countries and worldwide organisations.

Live examples

Nomenclature

  • Smart Answer: The flow, questions and outcomes.

  • Flow: Defines the questions, outcomes and the rules for navigating between them.

  • Landing page: Contains a description of the Smart Answer and the "Start now" button that leads to the first question.

  • Question page: Contains an individual question that's asked in order to help arrive at at an outcome.

  • Outcome page: Contains the result of the Smart Answer based on responses to individual questions.

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment or the local startup.sh script to run the app. Read the guidance on local frontend development to find out more about each approach, before you get started.

If you are using GOV.UK Docker, remember to combine it with the commands that follow. See the GOV.UK Docker usage instructions for examples.

Smart Answer design

Smart Answer tasks

Further guidance is available in docs/tasks.

Further documentation

Licence

MIT License

More Repositories

1

govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
JavaScript
1,108
star
2

whitehall

Publishes government content on GOV.UK
Ruby
833
star
3

accessible-autocomplete

An autocomplete component, built to be accessible.
JavaScript
792
star
4

govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.
Nunjucks
499
star
5

govuk_frontend_toolkit

❗️GOV.UK Frontend Toolkit is deprecated, and will only receive major bug fixes and security patches.
JavaScript
404
star
6

govuk-aws

The GOV.UK repository for our Migration to AWS
HCL
404
star
7

e-petitions

This is the code base for the UK Government's e-petitions service (https://petition.parliament.uk)
Ruby
301
star
8

govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
JavaScript
293
star
9

govuk_elements

❗️GOV.UK Elements is deprecated, and will only receive major bug fixes and security patches.
HTML
227
star
10

router

HTTP router in front of GOV.UK to proxy to backend servers on a single domain.
Go
205
star
11

government-service-design-manual

Government Service Design Manual
CSS
194
star
12

styleguides

GOV.UK coding standards and guidelines for other tools we use
193
star
13

unicornherder

Unicorn Herder: manage daemonized (g)unicorns
Python
152
star
14

magna-charta

Accessible, useful, beautiful barcharts from HTML tables.
JavaScript
152
star
15

govuk-puppet

Puppet manifests used to provision remaining parts of the legacy GOV.UK stack (as at Nov 2023: just Licensify left)
Puppet
125
star
16

govuk_template

❗️GOV.UK Template is deprecated, and will only receive major bug fixes and security patches. A template containing the GOV.UK header and footer, and associated assets.
Ruby
110
star
17

gds-way

How we build and operate products at GDS
HTML
100
star
18

govuk-developer-docs

📖 Tech docs for everyone working on GOV.UK
Ruby
92
star
19

govuk-infrastructure

Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
HCL
91
star
20

wcag-primer

Get up to speed with the Web Content Accessibility Guidelines
HTML
90
star
21

signon

Single sign-on service for GOV.UK
Ruby
87
star
22

govspeak

Markdown extension library for Government editors
Ruby
82
star
23

paas-cf

GOV.UK PaaS - Cloud Foundry
Go
81
star
24

accessibility-tool-audit

Automated accessibility tools audit
HTML
74
star
25

tech-docs-template

A template for building technical documentation with a GOV.UK style
HTML
68
star
26

govuk-guix

Package, service and system definitions using GNU Guix for software and systems related to GOV.UK.
Scheme
63
star
27

govuk_frontend_alpha

This repository will be archived.
CSS
61
star
28

notifications-api

GOV.UK Notify API
Python
60
star
29

govuk_publishing_components

A gem to document and distribute frontend components for GOV.UK applications
JavaScript
59
star
30

Product-Managers-Learn-By-Doing

Things you should know how to do, to be a successful Product Manager
59
star
31

govuk-docker

GOV.UK development environment using Docker 🐳
Ruby
59
star
32

design-principles

Serves /design-principles on GOV.UK
HTML
57
star
33

fabric-scripts

DEPRECATED
Python
57
star
34

govuk-rfcs

GOV.UK staff use this repository as a forum to discuss and make technical decisions
55
star
35

cdn-acceptance-tests

CDN Acceptance Tests
Go
49
star
36

terraform-provider-concourse

A terraform provider for Concourse
Go
48
star
37

calendars

Serves /bank-holidays and /when-do-the-clocks-change on GOV.UK
Ruby
47
star
38

government-frontend

Serves government pages on GOV.UK
Ruby
46
star
39

publisher

Publishes mainstream content on GOV.UK
Ruby
42
star
40

smokey

Smoke tests for GOV.UK
Ruby
41
star
41

pay-publicapi

The Payments Public API in Java (Dropwizard)
Java
40
star
42

puppet-auditd

Puppet module for Auditd
Ruby
39
star
43

fourth-wall

Retired pull request and build status monitor
JavaScript
38
star
44

notifications-admin

GOV.UK Notify frontend application
Python
37
star
45

paas-alpha-tsuru-terraform

HCL
36
star
46

spotlight

Hybrid rendering application for the Performance Platform using Backbone and D3
JavaScript
36
star
47

need-o-tron

Ruby
35
star
48

paas-docker-cloudfoundry-tools

Ruby
34
star
49

govuk-country-and-territory-autocomplete

An autocomplete widget that uses data from Country and Territory Register.
JavaScript
33
star
50

puppet-aptly

Puppet module for aptly
Ruby
33
star
51

collections

Serves GOV.UK navigation pages, browse, topic, step-by-steps & services and information pages.
Ruby
33
star
52

govuk-coronavirus-vulnerable-people-form

Helps the public get support during the COVID-19 pandemic
Ruby
33
star
53

gsp

GSP is a container platform and curated suite of components helping government deploy, run, observe and secure their services
Go
31
star
54

slimmer

Templating Rack middleware, injects standard header/footer and GOV.UK Components
Ruby
30
star
55

content-publisher

Publishing application for GOV.UK
Ruby
29
star
56

publishing-api

API to publish content on GOV.UK
Ruby
29
star
57

frontend

Serves the homepage, transactions and some index pages on GOV.UK
Ruby
29
star
58

puppet-skeleton

Skeleton project for infrastructure teams
Ruby
27
star
59

gds-boxen

Apple Macbook setup via Puppet - forked from https://github.com/boxen/our-boxen
Puppet
26
star
60

govuk-content-schemas

Definitions of the data formats used to represent content on GOV.UK
Jsonnet
26
star
61

accessibility-personas

Experience the web as personas with access needs
HTML
25
star
62

data-ethics-and-society-reading-group

Data ethics and society reading group for cross government sessions on books and articles relating to ethics in data science
25
star
63

prototyping

Old tool for making prototypes. No longer maintained. Use https://github.com/alphagov/govuk_prototype_kit instead
HTML
25
star
64

search-api

Search API for GOV.UK
Ruby
25
star
65

data-standards-authority

Collaboration space for working on data standards and guidance for the DSA
JavaScript
24
star
66

content-store

API for content on GOV.UK
Ruby
23
star
67

prometheus-aws-configuration-beta

Terraform configuration to manage a Prometheus server running on AWS.
HCL
23
star
68

paas-alpha-tsuru-ansible

Ansible configs for Tsuru
Python
23
star
69

gds-sso

OmniAuth adapter to allow apps to sign in via GOV.UK signon
Ruby
23
star
70

govuk-frontend-docs

Technical documentation for GOV.UK Frontend
HTML
22
star
71

govuk_frontend_toolkit_gem

A gem wrapper around the govuk_frontend_toolkit files to enable easy integration with Rails
Ruby
22
star
72

govuk-taxonomy-supervised-learning

Auto-tag govuk content to the collated legacy taxonomies
Jupyter Notebook
21
star
73

accessibility-community-notes-and-discussion

Draft accessibility guidance
21
star
74

alphagov.github.io

GitHub organisation site for GDS. Also an Apache Maven repository.
HTML
21
star
75

paas-billing

A Go application for generating billing data from cloudfoundry events
Go
21
star
76

interaction-diagrams

Tooling to generate microservice interaction diagrams using wireshark and PCAP processing.
Ruby
20
star
77

release

Helps deploying to GOV.UK
Ruby
20
star
78

government-digital-strategy

Government Digital Strategy
CSS
20
star
79

govuk-browser-extension

Chrome and Firefox extension for developers working on GOV.UK.
JavaScript
20
star
80

verify-frontend

The frontend service for GOV.UK Verify
Ruby
20
star
81

table-editor

Table editor for creating complex tables in HTML
HTML
19
star
82

govuk-terraform-provisioning

**DEPRECATED** Terraform configuration and utilities to provision parts of the GOV.UK AWS Infrastructure
HCL
19
star
83

pay-selfservice

Payments Team Self Service
JavaScript
19
star
84

fastly-configure

Configures GOV.UK Fastly setup via the command-line
Ruby
19
star
85

govuk-related-links-recommender

Machine learning model to recommend related content
Python
19
star
86

govuk_admin_template

[Deprecated] Styles, scripts and templates for building GOV.UK backend admin apps
JavaScript
19
star
87

static

GOV.UK static files and resources
JavaScript
18
star
88

notifications-net-client

.NET client for the GOV.UK Notify API
C#
18
star
89

gds-nodejs-boilerplate

A Node.js project boilerplate for production apps
JavaScript
18
star
90

paas-cf-conduit

Go
18
star
91

backdrop

Storing and querying data for the Performance Platform
Python
18
star
92

datainsight-frontend

Public facing web app to display various measurements of the GOV.UK site
JavaScript
18
star
93

govuk-archive

18
star
94

aws-security-alarms

CloudTrail and CloudWatch configuration with some basic security alarms.
HCL
18
star
95

govuk-lda-tagger

An experiment of using the LDA machine learning algorithm to generate topics from documents and tag them with those topics
Jupyter Notebook
17
star
96

panopticon

Retired. App that holds some of the content on GOV.UK
Ruby
17
star
97

seal

Slack bot that publishes a team's pull requests to their Slack channel
Ruby
17
star
98

verify-service-provider

👑 ☑️ The easiest way to connect to GOV.UK Verify
Java
17
star
99

paas-aiven-broker

A service broker to provide Aiven Elasticsearch and InfluxDB services to Cloud Foundry users
Go
17
star
100

finder-frontend

Serves finder and search pages for GOV.UK
Ruby
17
star