Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

A habit tracking app built to allow a user to track progress on daily, weekly, and monthly habits.

Notifications You must be signed in to change notification settings

minerva-schools/cs162-habit

Repository files navigation

Welcome to CS162 Habit Team's Final Project!

Let's Show You Around

To get the app running on your machine, complete the following steps:

  1. Clone the repo and cd into it
git clone https://github.com/minerva-schools/cs162-habit.git && cd cs162-habit
  1. Create / Activate Virtual Environment (requires python3 and virtualenv)

For Mac

python3 -m venv venv && source venv/bin/activate

For Windows

python3 -m venv venv && source venv/scripts/activate
  1. Install dependencies
pip3 install -r requirements.txt
  1. Run the app!
python3 -m flask run

Navigate to localhost:5000 and you should see a link to sign up and play around!

image info

Running Tests

Unit Tests

To run the unit tests, complete the following steps:

  1. Create / Activate Virtual Environment

For Mac

python3 -m venv venv_unit && source venv_unit/bin/activate

For Windows

python3 -m venv venv_unit && source venv_unit/scripts/activate
  1. Install unit_test dependencies
pip3 install -r requirements-unit.txt
  1. Run the unit tests
pytest unit_test

All tests should pass.

Integration Tests

Note: Make sure you have the local server up and running! Due to time constraints, no significant integration test development occurred.

To run the integration test, complete the following steps:

  1. Create / Activate Virtual Environment

For Mac

python3 -m venv venv_integration && source venv_integration/bin/activate

For Windows

python3 -m venv venv_integration && source venv_integration/scripts/activate
  1. Install integration_test dependencies
pip3 install -r requirements-integration.txt
  1. Run the integration tests
pytest integration_test

All tests should pass.

Contributors

About

A habit tracking app built to allow a user to track progress on daily, weekly, and monthly habits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published