Code Monkey home page Code Monkey logo

workout_app's Introduction

Workout App

Domain model draft

Plan

  • id
  • name
  • description
  • links
  • data

SessionSechedule Schedule for one session of a workout plan

  • id
  • plan
  • name
  • description
  • links
  • data

Exercise Specs for a specific Exrecise

  • id
  • sessionSchedule
  • name
  • reps
  • sets
  • rest
  • description
  • links
  • data

PerformedSession Instance of a session performed by a user

  • id
  • user
  • sessionSchedule
  • startedAt
  • completedAt
  • note

PerformedExercise Exercise performed by a user during a performed workout session

  • id
  • user
  • performedSession
  • reps
  • sets
  • rest
  • weight
  • startedAt
  • completedAt
  • note

User

  • id
  • name

Notes about types

Unless otherwise specified

  • Strings such as name, note, description are text
  • Weights are numeric, always in grams and converted in frontend/for end user
    • Constraint CHECK(VALUE >= 0)
  • Sets, reps are positive integers
  • id's are UUID unless otherwise necessary, in such cases serial
  • links are arrays of text (or possibly IE max, varchar(2082)) text[]

Positive Integer

https://www.postgresql.org/docs/current/sql-createdomain.html

CREATE DOMAIN positive_int AS int
    CHECK(VALUE >= 0)

Tech stack

Backend

Frontend

  • Native App
    • ReactNative
    • iOS first
    • Focus on experience in the gym, at your workout
    • Healthkit integration
    • Suggestion, create a mobile web-app using React Native for web for platforms we don't officially support with goal to share most code.
      • Also faster & easier to deploy
  • Web cloud app
    • Online app, desktop/mobile
    • Focus on
      • Analyzing previous workouts
      • Create new workout schedules
      • See statistics and progress
      • Social? (Not initial version)

workout_app's People

Contributors

hultner avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Anton Levholm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.