A very basic Single-Page Application (SPA) written in Rust with the Yew web framework. It makes requests to the Twitter Search API by a set of user-specified keywords and displays the results in a table.
The architecture is based on Henry Zimmerman's WeekendAtJoes4 SPA (https://github.com/hgzimmerman/WeekendAtJoes4).
Add a file api/twitter_config.json containing some valid Twitter API tokens, e.g.
{
"consumer_key": "...",
"consumer_secret": "...",
"access_token": "...",
"access_token_secret": "..."
}
Simply run start.sh
to start the API server along with the cargo-web server.
To run the server or the app for themselves:
- Server:
node api/server.js
- SPA:
cd wasm-spa/app/ && cargo web start --auto-reload