Skip to content

Instantly share code, notes, and snippets.

@quis
quis / routes.js
Last active August 1, 2018 14:41
How to integrate the prototype kit with GOV.UK Notify
// Add this code to the top of routes.js
// process.env.NOTIFYAPIKEY is a special kind of variable that Node
// pulls from the environment your prototype is running in
//
// To set it locally, run this command in your Terminal, in the root
// folder of your prototype:
// echo NOTIFYAPIKEY=xxxxxxx >> .env
// (where xxxxxxx is a key you’ve created in Notify)
//
// To set it on Heroku, go to the settings page on your app, click