Globe Scout is an AI-powered educational web application designed to make geography learning engaging and interactive for students. It features a conversational chatbot interface that allows students to explore countries, cities, capitals, population, and nearby locations โ all through natural language queries.
- ๐ฌ Chat Interface โ Ask questions like โTell me about Franceโ or โWhat are the nearby cities to Tokyo?โ
- ๐ Country Explorer โ Get key facts: population, capital, region, highlights, and trivia.
- ๐๏ธ City Highlights โ Explore interesting facts and key features of global cities.
- ๐ Nearby City Discovery โ Find and learn about cities near a given location.
- ๐ฑ Mobile Responsive UI โ Works seamlessly on mobile devices and tablets.
- ๐ Local LLM Integration โ Uses lightweight local language models for private, cost-effective operation (no dependency on cloud APIs).
- ๐ง Teen-Safe โ Designed with appropriate preprompts and filters to maintain content safety for students.
Perfect for students aged 10โ18 who want to explore the world, prepare for geography assignments, or simply stay curious about global places in a fun, interactive way.
git clone https://github.com/Code4Bharat-2025/team10.git
## Prerequisites
- React.js (18.2.0 or higher)
- Python (v3.8 or higher)
- pip (Python package manager)
- A GEOdb Cities API key (get it from [RapidAPI](https://rapidapi.com/wirefreethought/api/geodb-cities/))
- Ollama
## Backend Setup
1. Navigate to the backend directory:
```bash
cd backend-
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the backend directory with your API key:GEO_API_KEY=your_geodb_api_key_here FLASK_ENV=development FLASK_APP=app.py -
Run the Flask development server:
flask run
The backend will be available at
http://localhost:5000 -
Install Ollama for your OS, if not already and then run following commands:
ollama run phi3
-
Navigate to the frontend directory:
cd frontend -
Install the required packages:
npm install
-
Start the development server:
npm start
The frontend will be available at
http://localhost:3000
travel-guide/
โโโ backend/
โ โโโ app.py # Flask application
โ โโโ requirements.txt # Python dependencies
โ โโโ .env # Environment variables
โโโ frontend/
โโโ public/ # Static files
โโโ src/
โโโ components/ # Reusable components
โโโ pages/ # Page components
โโโ services/ # API services
โโโ App.js # Main App component
โโโ App.css # Global styles
GET /api/countries- Get list of countriesGET /api/cities?countryId=:id- Get cities for a countryGET /api/city/:id- Get details for a specific city
| Layer | Tech Used |
|---|---|
| Frontend | HTML, CSS, JavaScript, React |
| Backend | Flask |
| AI/LLM | Local SLM (e.g., OLLaMA) |
| Data Source | Static location data / GeoDB |
| Hosting | Local server / lightweight VM |
| UI | Mobile responsive layout |
๐งฉ Gamified Learning โ Add interactive quizzes, leaderboards, and badges to make learning fun.
๐ Voice Support โ Enable voice-to-text input for accessibility and ease of use.
๐ Multilingual Support โ Introduce translations and multilingual responses for broader reach.
๐ Curriculum Integration โ Align content with school geography syllabus and enable teacher-student dashboards.
๐ถ Offline Mode โ Allow access to preloaded data in low-connectivity environments.
๐ Cross-Subject Expansion โ Extend the app to include history, culture, and current events.
https://drive.google.com/file/d/1w28ii-qeIeBRLlYw8Tkm_nFKRkum4eEx/view