bundle
rake db:migrate
rake db:test:prepare
rake db:seed
brew install redis
redis-server /usr/local/etc/redis.conf
rake spec
rails s
localhost:3000
- a donor's choose project that the user has selected for donations
- user-defined objective to be accomplished by the user
- this is meant to be a self-improvement objective whose progress can be easily measured on a periodic basis (e.g., "lose a pound a week")
- a goal has a wallet amount (current amount earned by user for check-ins)
- a goal has a reserve amount (total yet-to-be-donated funds from contributions)
- user-entered indication that the user meet their goal for that day
- total amount earned through successful check-ins
- this is the current amount a user can donate to their goal's project at any given time
- total amount (in dollars) for a goal that is available to the user for donations
- reserves are built by sponsor donations (via charges to other people credit cards)
- payment amount made by a sponsor that is applied to a goal's reserve amount
- contributions are made to goals
- a sponsor sets a per-check-in value (i.e., the amount a user can earn each time they check-in for their goal) when they contribute to the user's goal
- amount subtracted from a goal's wallet (& reserve) that is donated to a specific project
- credit card transaction used to fund a contribution
- a person who contributes money to a user's reserve