Skip to content

alphagov/notify-public-research-prototype

Repository files navigation

GOV.UK Notify public research prototype

This project is for doing user research around emails and text messages. It implements prototypes which are copies of real pages and services on GOV.UK, with added email/text message flows and call to actions, powered by the GOV.UK Notify API.

Based on: webchat-prototype

Building and running

This is based on the GOV.UK prototype kit, so most instructions that apply to that work here too. In short:

npm i
npm start
open http://localhost:3000

Local environment

You’ll need the following environment variables set locally in order to talk to external services.

If you need these locally, take them from the settings page in Heroku.

Key name What it’s for
MONGODB_URI Connecting the prototype’s Mongo DB instance
NOTIFYAPIKEY API key for the Change your driving licence address service on GOV.UK Notify
NOTIFYAPIKEYDART API key for the Pay the Dart Charge service on GOV.UK Notify

Deploying

Once you have this repo cloned and are in its directory:

heroku git:remote -a yfiton

Then every time you want to deploy:

git push heroku master