Locate the News is a global news mapping application that transforms traditional news consumption into a spatial experience. By integrating Natural Language Processing (NLP) and Mapbox GL JS, it visualizes real-time global events, extracts precise locations from text, and analyzes sentiment to highlight crisis zones.
Global Sentiment Overview
|
Smart Clustering & HUD
|
Crisis Detection (Red Alert)
|
Detailed News Reading
|
The interface features a custom "Glassmorphism" design with 3D interactions.
Supercluster for efficient multi-level zoom visualization.en_core_web_sm), TextBlobBackend Setup:
cd backend
python -m venv venv
# Windows: venv\Scripts\activate | Mac/Linux: source venv/bin/activate
pip install -r requirements.txt
python -m spacy download en_core_web_sm # Crucial: Downloads the NLP model
# Create a .env file and add: NEWS_API_KEY=your_key
python -m app.main
Frontend Setup:
cd frontend
npm install
# Create a .env file and add: REACT_APP_MAPBOX_TOKEN=your_token
npm start
LocateTheNews/
βββ backend/ # FastAPI backend
β βββ app/
β β βββ main.py # Application entry point
β β βββ models.py # Database models
β β βββ database.py # DB Connection & Session
β β βββ routers/ # API endpoints (events)
β β βββ services/ # NLP, Sentiment & News Fetching
β βββ requirements.txt
βββ frontend/ # React frontend
β βββ src/
β β βββ components/ # Map, HUD, and Article UI components
β β βββ api/ # Axios client & API endpoints
β β βββ styles/ # CSS modules for Glassmorphism
β β βββ App.js # Main Application logic
β βββ package.json
βββ screenshots/ # Project visual assets
βββ docs/ # Technical documentation
βββ data/ # Local data storage (SQLite DB)
βββ docker-compose.yml # Docker orchestration (optional)
βββ README.md
This project was developed as a graduation/capstone project for the Computer Engineering Department at MuΔla SΔ±tkΔ± KoΓ§man University.
Developer: Ceyda ArΔ±k
Advisor: DoΓ§. Dr. BarΔ±Ε Ethem SΓΌzek