This demo will show you how to use Secretless Broker to connect to the Twitter API using the provided Secretless Twitter generic configuration file in a Node/React application that is running in docker containers.
A video demo of this tutorial and why Secretless is important can found here.
This demo requires you to install Docker and Docker-Compose.
- Generate an OAuth 2
TWITTER_BEARER_TOKEN
and set it in the same environment you are running the application.
export TWITTER_BEARER_TOKEN=<your-token>
- Run the application on your local machine
./start.sh
- Visit
localhost:3000
on your local web browser