Skip to content
abtinjsdevPublic

About

A workout tracking application built with JavaScript and Leaflet, featuring interactive maps, running and cycling activity tracking, workout statistics, geolocation, and local storage persistence.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

VITALORA

A workout tracking application built with Vanilla JavaScript, HTML, and CSS. VITALORA allows users to track running and cycling activities, record workout statistics, and visualize their activities on an interactive map using their current geographical location.

FEATURES

  • Interactive Map: Displays an interactive map powered by Leaflet and OpenStreetMap.
  • Geolocation: Automatically detects the user's current location.
  • Running Tracker: Records running distance, duration, cadence, and calculates pace.
  • Cycling Tracker: Records cycling distance, duration, elevation gain, and calculates average speed.
  • Workout Visualization: Displays workout locations using interactive map markers.
  • Dynamic Workout List: Automatically generates workout cards containing activity details.
  • Map Navigation: Click on a workout to navigate directly to its location.
  • Local Storage: Automatically saves workout data in the browser.
  • Responsive Interface: Provides a clean and organized user interface.

TECHNOLOGIES USED

  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • Leaflet.js
  • OpenStreetMap
  • Browser Geolocation API
  • Local Storage API

CORE DEVELOPMENT CONCEPTS

This project demonstrates practical experience with:

  • Object-Oriented Programming (OOP)
  • JavaScript Classes and Inheritance
  • Private Class Fields
  • Constructors and Super()
  • Encapsulation
  • Event Handling
  • DOM Manipulation
  • Array Methods
  • Destructuring
  • Template Literals
  • Dynamic HTML Rendering
  • Browser APIs
  • JSON Serialization and Parsing
  • Data Validation
  • Event Delegation
  • JavaScript ES6+ Features

PROJECT STRUCTURE

VITALORA/
├── index.html
├── style.css
├── script.js
└── logo.png

INSTALLATION

  1. Clone the repository:
git clone https://github.com/abtinjsdev/vitalora.git
  1. Navigate to the project directory:
cd vitalora
  1. Start a local development server.

You can use the Live Server extension in Visual Studio Code.

USAGE

  1. Open the application and allow location access.
  2. Wait for the map to load.
  3. Click anywhere on the map to open the workout form.
  4. Select your activity type: Running or Cycling.
  5. Enter the required workout information.
  6. Submit the form to save your workout.
  7. Select a workout from the sidebar to navigate to its location on the map.

DEVELOPER

Abtin Shahrabadi

Frontend Developer | JavaScript Enthusiast

GitHub: https://github.com/abtinjsdev


VITALORA is a personal development project focused on mastering object-oriented JavaScript, working with browser APIs, interactive maps, and persistent client-side data management.

About

A workout tracking application built with JavaScript and Leaflet, featuring interactive maps, running and cycling activity tracking, workout statistics, geolocation, and local storage persistence.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages