Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khaliqgant/workout-tracker
:muscle: A set of JSON schemas for workouts
https://github.com/khaliqgant/workout-tracker
Last synced: 3 months ago
JSON representation
:muscle: A set of JSON schemas for workouts
- Host: GitHub
- URL: https://github.com/khaliqgant/workout-tracker
- Owner: khaliqgant
- Created: 2016-03-08T03:19:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-10T01:50:43.000Z (over 8 years ago)
- Last Synced: 2024-04-24T00:43:33.846Z (9 months ago)
- Language: JavaScript
- Homepage: http://khaliqgant.github.io/workout-tracker/
- Size: 39.1 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![NPM](https://nodei.co/npm/workout-tracker.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/workout-tracker/)
[![Build Status](https://travis-ci.org/khaliqgant/workout-tracker.svg?branch=master)](https://travis-ci.org/khaliqgant/workout-tracker)
[![Supported Nodejs Version](https://img.shields.io/badge/node-%3E%3D0.10-blue.svg)](https://www.npmjs.com/package/workout-tracker)# Workout Tracker
> A collection of workout schemas. Allows you to track predefined workouts progress.## Example
* Can be seen [here](http://khaliqgant.github.io/workout-tracker/)## Development Proof Of Concept
* A development simple example can be seen in the `index.html` file and the javascript
in `scripts/workout.js`
* Start up a simple webserver using `npm run dev` which calls `python -m SimpleHTTPServer 8000`
* The workout that gets loaded in depends on the query string appended to the URL.
For example `localhost:8000/?workout=upper_body_push` will load that schema
and allow you to enter in data and when hitting submit, the JSON dump will be
outputted to the console.## Development
* Any JSON schema workouts are encouraged via pull requests!
* Add a schema to the schema directory and ensure it is valid by running `make test`
from the root.## References
* [Check Data Against Registered schema](http://jsonschemalint.com/draft4/#)
* [JSON Schema Reference](http://spacetelescope.github.io/understanding-json-schema)