Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)