Cryptocurrency News Aggregator - is a Rust-based web application that fetches the latest cryptocurrency news and market data from multiple trusted sources. Users can search by cryptocurrency name to get real-time news articles with concise summaries, source info, and publication dates as well as market data such as price and capitalization of the provided currency.
-
Search for cryptocurrency market data
-
Get the latest news related to cryptocurrencies
-
Error handling for missing data or API issues
-
Clean and modern responsive UI
-
Suggests supported cryptocurrencies
-
User enters a cryptocurrency name (e.g., bitcoin) in the search bar.
-
App fetches:
Market data like price and market cap.
Latest news articles.
-
Fetched data is displayed on the same page and divided into two following columns:
-
Market Data , where you can find such info as price and market cap. of provided token,
-
Latest news , where you can find list of related articles and the link to the original source by following Read more button.
-
When you start the application, by default you will be greeted with the following screen:
Let's try to type the name of cryptocurrency that we are interested in right in the search bar. We will start with bitcoin:
We could also try to type other cryptocurrency names. For example, we provide the meme crypto of Doge Coin, and get the following data:
The application also supports the error handling. For instance, if we enter the name of fake or non-existent crypto currency, the application won't be able to fetch any market data due to that and will inform us about that. However, it might still return some news article, because the search of article is conducted based on key words that were provided by user.
-
Backend:
- Rust - programming language
-
Frontend:
- HTML/CSS + Bootstrap - layout and design
- JS - scripting
-
APIs
-
CoinGecko API
Used to fetch real-time cryptocurrency data such as current price, market capitalization, and token details.
-
GNews API
Used to fetch recent news articles related to selected cryptocurrencies. Also includes basic date formatting and sentiment tagging.
-
To run this project locally, ensure that you have Rust installed. You can follow the instructions to install Rust here.
Additionally, you need "GNEWS_API_KEY" API key variable placed in your .env file
-
Clone the repository:
git clone https://github.com/Timirlon/news-agregator-rust cd news-aggregator-rust
-
Install dependencies:
cargo build
-
Run the server:
cargo run
- Temirlan Turgimbayev SE-2321
- Amirkhan Turgimbayev SE-2322
This project is designed for academic purposes only and is not intended for commercial use. Licensed under MIT License.