Skip to content
Hackbright final project - Dungeons and Dragons Activity Tracker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dnd_data_gather
static
templates
.gitignore
.travis.yml
DB_schema.jpeg
README.rst
database diagram natural 20.pdf
dnd_helper_functions.py
fitness_helper_functions.py
flask_tests.py
google_api_update.py
model.py
natural20.sql
nginx.conf
outcome_page_image.png
package.json
requirements.txt
seed.py
seed_timezones.py
server.py
timezones.dat
travis_test_script
user_page_image.png
views.py

README.rst

Natural 20

https://travis-ci.org/srhjne/Natural20.svg?branch=master https://coveralls.io/repos/github/srhjne/Natural20/badge.svg?branch=master

Description

Natural20 gamifies fitness tracking in the theme of dungeons and dragons. You can track Steps and Calories burned throught the Google fit API and track sleep data in the app. There is also a social aspect to the app allowing users to become friends with one another and also form teams.

Installation

This project is written in Python 2.7. To install the relevent python libraries run:

pip install -r requirements.txt

This project requires a database called natural20

createdb natural20

You can then seed this database by running:

python seed.py

In order to run the server you need to obtain a Google API Client Key and Secret and load them into environment variables:

export GGL_ID="YOUR_ID"

export GGL_SECRET="YOUR_SECRET"

You are then all set to run the server:

python server.py

Database

The database used for this project is in PostgreSQL

alternate text

Schematic of the tables in the database

Website

Here is a brief tour of the website

The user page is here:

alternate text

User profile page

alternate text

Goal outcome page

You can’t perform that action at this time.