Skip to content

illiaChaban/Catalyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

_____Mobile First

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

LIVE || Motivational app that utilizes your friends' cruelty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published