Skip to content

Motivational app for people that are lacking that extra push. Your friends will punish you if you don’t follow through with your goal.

Notifications You must be signed in to change notification settings

Catalyst-DC/Catalyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalyst - front end

check out the server-side

Overview:

Motivational app for people that are lacking that extra push. Group of close friends post their goals that they want to commit to. Your friends vote for a ridiculous punishment for you if you don’t follow through. You have to ‘check-in’ to prove that you actually doing the work, else get punished!

Watch demo:

Screenshots:

sc1 sc2 sc3 sc4 sc5

Team Members & Roles:

Technologies used:

  • React
  • PostgreSQL
  • Redux
  • Express.js
  • JavaScript
  • Node.js
  • CSS
  • Amazon EC2.

Code snippets:

class ProfilePage extends Component{
    async componentDidMount() {
        let { dispatch } = this.props;
        let response = await fetchMe();
        if (response.status === 200) {
            let user = await response.json();
            updateUserInfo({dispatch, user })
        }
    }

    render() {
        let { me, profileUserId, history } = this.props;

        return (
            <div>
                <ProfileIconPart userId={profileUserId} me={me} history={history}/>
                <ProfileGoals userId={profileUserId} me={me}/>
                <ProfileCheckins userId={profileUserId} me={me}/>
            </div>
        )
    }
}

export default connect(
    (state, props) => ({ 
        me: state.user,
        profileUserId: props.profileUserId,
        history: props.history,
    })
)(ProfilePage);

About

Motivational app for people that are lacking that extra push. Your friends will punish you if you don’t follow through with your goal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •