Skip to content

trevormccasland/pthub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PT Hub

PT Hub is a web app for personal training.

This app will allow a personal trainer to build programs and assign them to clients so they can follow along during their sessions.

Service Architecture

  • Frontend
  • Server
  • Data Processing
  • Auth
  • Test


                                                   +----------+                                    
                                                   | Block    |     low-frequency storage          
                                                 +-+ Storage  |<-------------------------+         
                                                 | |          |                          |         
                                                 | +----------+                          |         
                                                 |                                       |         
                                                 |                                       |         
+---------------+                                |                               +---------------+ 
|     Test      |                                |                               | Data Process  | 
+---------------+                                |                               +---------------+ 
       ^                                         |                                      ^          
       | (Tests)                                 |                                      |          
       |                                         |                                      |yes       
       v                                         v                                      |          
+---------------+      (HTTP/HTTPS)      +---------------+      (Data Flow)             |          
|   Frontend    | <--------------------> |    Server     | -------------------->    Has Video?     
+---------------+                        +---------------+                              |           
        ^                                      ^                                        |           
        | (User)                               | (Logic)                                |No        
        |                                      |                                        |          
        v                                      v                                        v          
+---------------+      (Auth Token)      +---------------+      (Storage)      +---------------+   
|      User     | <--------------------> |     Auth      | ------------------> |  Database/    |   
+---------------+                        +---------------+                     |    Cache      |   
                                         ^                                     +---------------+   
                                         | (Auth/Authz)                                            
                                         |                                                         
                                         v                                                         
                                  +---------------+                                                
                                  | Identity Prov.|                                                
                                  | Ext. Auth     |                                                
                                  +---------------+                                                
Legend:

<-----> : Two-way comm.
-----> : One-way comm.
^ : Upward flow.
v : Downward flow.
( ) : Description.