A website builder that uses the GOV.UK Design System.
The design is derivative of (N.B.: stolen from) GOV.UK Forms.
main
branch: https://govuk-mockup-kit.fly.dev/ (username/password: mockup/kit)
Previous versions:
Branch | Design history post | URL (Heroku might take a while to spin up) |
---|---|---|
mvp |
22/05 – MVP design and build | https://govuk-mockup-kit-mvp.herokuapp.com/ (mockup/kit) |
The user need:
As a... person working on a government service
I need to... create a prototype without having to write code
So that... I can share it with colleagues or use it in research
The hypothesised solution (MVP):
A website builder interface, that does not require technical knowledge to use, that allows the user to create pages and fill them with components from the GOV.UK Design System. The user can tweak content, change ordering of pages, and preview what their finished prototype will look like. At the end, they can export it as a prepopulated govuk-prototype-rig project.
This project will probably never be finished (maybe it isn't worth building?), but like most things I work on and never finish I pushed it up to GitHub anyway. If it sounds cool to you too feel free to reach out and chat to me about it.
- 💥 Creating journeys
- 📑 Adding pages
- 🕵️ Previewing
- 📠 Export to prototype kit
- 🕴️ Login with GitHub
- ⛴️ Import an existing prototype
- 💻 Editing pages in code
- 🔄 Syncing with a prototype
- 🧾 Check your answers
- 🏁 Customisable end page
- 📽️ Live preview
- ♻️ Reordering
- 🎶 Multiple page types
- 🏎️ Optional Turbo
Standard Rails 7 / Ruby 3 project. Example:
asdf install # Install optimal ruby/nodejs/etc versions, see .tool-versions
pg_ctl start # If not already running postgres
bin/setup # bundle / yarn / database setup
vim .env # See the OAuth app section below
bin/dev # Local development on http://localhost:3000
bin/lint # Run linters
bin/test # Run all tests
- Go to Github > Settings > Developer settings > OAuth Apps
- Click on "New OAuth App"
- Set name and URL to anything
- Set "Authorization callback URL" to
http://localhost:3000/users/auth/github/callback
- Regiser application
- Generate a secret
- Edit
.env
# .env
GITHUB_KEY=Replace with the Client ID from your OAuth App
GITHUB_SECRET=Generate a client secret