Habit-tracking- Libits

Contributors

  • Anwar
  • Jaxsan
  • Sami
  • Sidar
  • Melissa

Installation

  • Clone or download the repo
  • Open terminal and navigate to api folder & client folder
  • Run npm install to install dependencies

Usage

  • Run bash _scripts/startDev.sh to get the API and DB containers running and then open the client on live server
  • Run bash _scripts/startTest.sh to execute the tests on the backend
  • Run bash _scripts/tearDown.sh to stop and delete the containers.

Do not run startDev and startTest simulanteously.

Design

Homepage

Screenshot 2022-04-13 at 17 49 08

Register

Screenshot 2022-04-13 at 17 49 29

Login

Screenshot 2022-04-13 at 17 49 19

Habits

Screenshot 2022-04-14 at 10 19 44

Add Habits

Screenshot 2022-04-14 at 10 19 33

Test

  • Test coverage 88%

Screenshot 2022-04-13 at 14 59 46

Wins

  • After registering the page automatically login
  • Add habit form pops down when clicked on
  • Each habit can be deleted using the X button on the right
  • + button on the left increase the count by one for each habit
  • Once the counter reached the goal, the habit will be crossed out

Challenges

  • Streak