Notify UI
This is the Notify front-end for government users and admins. To see it in action, check out the demo site (contact team for credentials).
Through the interface, users can:
- Register and manage users
- Create and manage services
- Send batch SMS by uploading a CSV
- View their history of notifications
The Notify API provides the UI's backend and is required for most things to function. Set that up first!
Local setup
Common steps
-
Install pre-requisites for setup:
-
Log into cloud.gov:
cf login -a api.fr.cloud.gov --sso -
Ensure you have access to the
notify-local-devandnotify-stagingspaces in cloud.gov -
Run the API setup steps
-
Run the development terraform with:
``` $ cd terraform/development $ ./run.sh ``` -
If you want to send data to New Relic from your local develpment environment, set
NEW_RELIC_LICENSE_KEYwithin.env -
Follow the instructions for either
Direct installationorDocker installationbelow
Direct installation
-
Get the API running
-
Install pipenv
-
Install Python and Node dependencies
make bootstrap -
Run the Flask server
make run-flask -
Go to http://localhost:6012
Docker installation
If you are using VS Code, there are also instructions for running inside Docker
To test the application
From a terminal within the running devcontainer:
# run all the tests
make test
# continuously run js tests
npm run test-watch
To run a specific JavaScript test, you'll need to copy the full command from package.json.
Running a11y-scans locally
Unlike most of the tests and scans, pa11y-ci cannot currently be run from within the VSCode dev container.
- Run
make run-flaskfrom within the devcontainer - Run
make a11y-scanfrom your host computer.
Further docs from UK
License && public domain
Work through commit 543be77 is licensed by the UK government under the MIT license. Work after that commit is in the worldwide public domain. See LICENSE.md for more information.
Contributing
As stated in CONTRIBUTING.md, all contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
About the TTS Public Benefits Studio
The Public Benefits Studio is a team inside of GSA’s Technology Transformation Services (TTS), home to innovative programs like 18F and Login.gov. We collaborate with benefits programs to develop shared technology tools and best practices that reduce the burden of navigating government programs for low income individuals and families.
We’re a cross-functional team of technologists with specialized experience working across public benefits programs like Medicaid, SNAP, and unemployment insurance.
For more information on what we're working on, the Notify tool, and how to get involved with our team, see our flyer.