## Terms of Reference (TOR) for Website Development **Task:** Develop a website with integration of the paid API [forexnewsapi.com](https://forexnewsapi.com). The site should be maximally **futuristic, dynamic, and feature 3D animations**. --- ### Core Functionality: 1. Integration with the Forex News API. 2. Automatic fetching of news every **3 minutes**. 3. Classification of news by sentiment: - Positive - Negative - Neutral 4. Separation of news by currencies: - EUR, USD, GBP, NZD, AUD, CAD, JPY. 5. Counters reset automatically every 24 hours (**00:00 Tashkent time**). 6. Clicking on a news item opens it fully (title, text, date, source, currency, sentiment). 7. History: the last **50 news items** should be displayed in a daily table. --- ### Economic Indicators: 1. Integration of API to display key macroeconomic data: - GDP - Inflation (CPI) - Unemployment - Interest Rates - PMI - Trade Balance - Export / Import - Budget Deficit 2. For each indicator: - Release date - Forecast - Actual value - Previous value 3. Linking indicators to currencies (e.g., US data → USD section). 4. Economic calendar with filtering by days and weeks. 5. Visualization: - Line charts for dynamics - Tables with sorting options --- ### Analytics & Visualization: - Main real-time dashboard: - Number of news items per currency - Distribution of positive / negative / neutral sentiment - Charts: Pie, Line, and Bar. - Filters and search: by currency, sentiment, date, and keywords. --- ### Additional Features: 1. **User authentication (optional):** - Login via e-mail, Google, or Telegram. - Save filters and bookmarks. 2. **Push notifications / Email alerts:** - If >3 negative news appear for a currency within 15 minutes → send alert. 3. **Data export:** - Ability to export tables into Excel/CSV. 4. **Localization:** - Russian / English language support. 5. **SEO & Performance:** - PageSpeed score 90+. - SEO optimization. 6. **Security:** - API keys stored on the server. - HTTPS, protection against request overload. --- ### Design (UI/UX): - Futuristic style: dark background + neon accents (blue, purple, green). - 3D animations: - **2 sharks** floating on the right side. - **1 dragon** moving across the site on the left. - “Holographic world map” highlighting countries where news originates. - Scroll effects (holographic transitions, smooth appearances). - Minimum of **10+ pages** (homepage, analytics, currencies, news, economic calendar, etc.). - Fully responsive (desktop + mobile). --- ### Technical Details: - Clean code and structured architecture. - Caching of API requests. - Scalability (integration of cryptocurrencies, gold, and other assets). - Admin panel (enable/disable currencies, adjust refresh intervals, edit design).