Express App that resolves councillor info from an address or lat/long. Backend for email-contact
Uses Ramda heavily for functional programming where applicable.
Starts server at port process.env.PORT
or 5000.
Starts server at port process.env.PORT
or 5000 with SSL. Expects server.key
and server.cert
files in root directory.
Generate them with openssl req -nodes -new -x509 -keyout server.key -out server.cert
Runs relevant unit tests in watch mode. Does not require backend to be running.
Runs relevant unit and E2E tests in watch mode. Does not require backend to be running.
Runs all unit and E2E tests and saves results in JUnit format.
Project is automatically deployed by Heroku if all tests pass.
View the Azure Pipeline project: https://dev.azure.com/chuihinwai/address2councillor
- Add API token mechanism
- Revert to Open Data councillors table from hard coded hot fix
- Add caching of ward boundaries and councillor info
- Favour
import
instead ofrequire
(Add Babel)