Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

nypublicradio/click-to-congress

This branch is 27 commits ahead of, 2 commits behind noslouch/clicktocongress-node:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

806e987 · Jan 11, 2024

History

60 Commits
Apr 2, 2018
Apr 2, 2018
May 22, 2017
Mar 17, 2017
Apr 2, 2018
Mar 17, 2017
Mar 15, 2017
Jan 19, 2023
Jan 11, 2024
Jan 19, 2023
Dec 11, 2016
Mar 17, 2017
Apr 2, 2018
Apr 2, 2018
Apr 2, 2018

Repository files navigation

Archived 1/11/24

click to congress (node)

This is a node port of the click to congress elixir api.

development

  • $ git clone https://github.com/nypublicradio/click-to-congress this repository
  • $ cd click-to-congress
  • $ npm install
  • $ cp .env.sample .env.

Add your twilio credentials to your freshly copied .env file.

To open up your local server to the incoming Twilio webhook (which actually connects the call), you can use a tool like ngrok to open up a local webserver to the world.

Once you've opened up a local address, update your .env accordingly.

Then just $ node index.js and you're on your way.

testing

You'll need mocha install globally with $ npm install -g mocha.

Run the tests with npm test.

About

node version of clicktocongress-api

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Dockerfile 1.4%