How hariomgupta70427/world-map works
World Explorer is a browser-based interactive country map backed by a small Express server. Users hover over map regions for names and select a country to load its details into a sidebar; the browser requests country and time data through the server. The README documents responsive styling and REST Countries integration. The supplied excerpts show map event handling, detail rendering, and both server routes; the map asset’s exact loading relationship is not shown, so it is not modeled separately.
Main entry points: script.js Map interactions · index.html Map page · server.js Country data proxy · styles.css Responsive styling
Components 9
Map interface
- Map page
index.html - Responsive styling
styles.css
Country exploration
- Map interactions
script.js - Country details
script.js
Server services
- Static file hosting
server.js - Country data proxy
server.js - Time endpoint
server.js
External data
- REST Countries API
Other components
- Visitor
Connections 8
- Visitor → Map page: explores
README.md - Map interactions → Map page: updates
script.js - Map interactions → Country details: loads details
script.js - Map page → Responsive styling: styled by
README.md - Static file hosting → Map page: serves
server.js - Map interactions → Country data proxy: requests country
script.js - Country data proxy → REST Countries API: fetches data
server.js - Map interactions → Time endpoint: requests time
script.js