Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groupie Tracker — Geolocalization

This project enhances the original Groupie Tracker by adding a full map-based geolocation system for artist concerts.

🌍 Features

  • Converts concert locations (e.g., Berlin Germany) into geographic coordinates using geocoding.
  • Displays all concerts for a selected artist on a world map using Leaflet.js.
  • Connects concert locations with a red polyline in chronological order.
  • Consolidates multiple dates in the same city under one marker (cleaner design).
  • Fully integrated into the existing artist page, with a fullscreen map option.
  • Responsive frontend with styled popups, numbers, and date formatting.

🛠 Technologies Used

  • Go (Golang) for backend API and logic
  • HTML / CSS / JS for frontend
  • Leaflet.js for map rendering
  • OpenStreetMap tiles
  • No external Go libraries used — only the Go standard library

📁 Project Structure (Relevant Parts)

groupie-tracker-geolocalization/
├── main.go
├── web/
│   ├── server.go           # Starts the HTTP server
│   ├── handlers.go         # Route logic (e.g. artistLocationsHandler)
│   └── ...
├── data/
│   ├── fetch.go            # Fetches data from external API
│   ├── geocode.go          # Resolves location names to coordinates
│   └── ...
├── models/
│   └── types.go            # Struct definitions for artists, locations, etc.
├── templates/
│   └── artist.html         # Includes map section and popup rendering
│   └── ...
├── static/
│   └── js/map.js           # Fetches & renders map locations
│   └── ...
└── README.md

✅ How to Run

go run .

Then open:

http://localhost:8080

Click on any artist → scroll to the map section.


🚦 Evaluation Criteria

  • ✅ Only standard Go packages used.
  • ✅ Uses geocoding to resolve concert addresses.
  • ✅ Concert locations sorted & connected chronologically.
  • ✅ Multiple concerts in one city are grouped under one marker.
  • ✅ Clear, functional user interface.
  • ✅ Good code practices and structure.

🎓 Educational Goals

  • Learn to work with JSON, HTTP, and templates in Go
  • Understand geocoding and map APIs
  • Improve frontend skills with real-world data
  • Practice clean code and error handling
  • Bridge backend and frontend in a meaningful way

📜 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages