Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.5 KB

Habit Tracker

A web app that helps you form long-lasting, positive life habits.

http://habits.elasticbeanstalk.com

How it works

  • Describe an activity you want to do regularly.

  • A progress bar appears. Tap it to "level up" in that activity.

  • Your progress bar constantly drains down. If you slack off, you'll lose a level.

Tech Overview

  • Front-end: React.js
  • Server: Node.js with Gulp
  • Data Storage: AWS - DynamoDB
  • Hosting Environment: AWS - Elastic Beanstalk

Set Up for Local Development

Dependencies

  • Node - version 0.12.0 or greater
  • SASS - version 3.3.4 or greater

--

  1. Fork and clone this repo

  2. Go to the repo's root directory and install dependencies:

    npm install
    
  3. Set up your appConfig file:

    cp appConfig.example.json appConfig.json
    

    In the copied file you'll notice two placeholders for secret keys. AWS uses the keys to access DynamoDB. Unfortunately you'll need to message me for credentials. (I apologize for the convenience; creating a mock data service is on my To Do list.)

  4. Start the server:

    NODE_ENV=dev npm start
    
  5. View the app in your browser:

    open http://localhost:8081/