Skip to content

Web application for tracking physical activity and promoting healthy habits

Notifications You must be signed in to change notification settings

Maci33k/ActivityTracker_WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Activity Tracker

Web application for tracking physical activity and promoting healthy habits

Installation

To run the project locally follow these steps

Prerequisites

Make sure you have installed

Launching ASP .NET Web API

ASP.NET Core automatically generates an SSL certificate for local HTTPS connections, but you must trust it for the browser to accept it. Open terminal and use following command if needed:

dotnet dev-certs https --trust

After executing this command, the system may ask you to confirm the installation of the certificate. Confirm the system messages and restart the browser. Web Api should be working on the following address:

https://localhost:7217/swagger/index.html

Lauching Angular application

Make sure to have node.js and npm installed. You can check using these commands

node -v
npm -v

Install Angular CLI globally:

npm install -g @angular/cli
ng version

If you encounter errors with dependencies, use this command:

npm install --legacy-peer-deps

Run the Angular application:

ng serve -o

Local database

In SQL Management Studio create new database, you can name it as shown or make your own by changing connection string in appsettings.json file in .net project

ActivityTrackerDB

To create database structure open .net project and use this command in NuGet terminal

UPDATE-DATABASE

Overview

Below you can find some of the main functionalities already implemented in the application

Registration and login

After completing the register form, verification email is sent. When done, click the verification link and you are ready to log in into your account

Screenshot Screenshot

Saving data and receiving feedback

You can save your everyday's data in the fields provided by application. Algorithm based on current science data will analyze them in terms of your personal informations such as gender, age, weight, height or athleticism, giving you achieved scores. Scores are calculated using default rules inside the algorithm or in relation to user's personal goals.

Screenshot Screenshot

Friends system

In the app you can search for friends, send invitations and view their profiles. Screenshot Screenshot

User profile

A place to view a user's profile. Here you can change your profile picture and pin achievements. Screenshot

Notifications

Every day, notifications are generated with the achieved results and tips on how to improve results in each activity. Screenshot

Achievements system

A system for earning badges for specific tasks performed in the application. Screenshot

Summaries

Viewing results from a selected time range Screenshot

Settings and options of configuration

In the app, you can set the activities you want to save, personal data, and individual goals, which will then be analyzed by the algorithm. Screenshot Screenshot Screenshot

Things to implement

I'm working mainly on these things to make the app complete and more user friendly

  • Make the app responsive for all the devices
  • Improve some graphics aspects of the application
  • Make HTTP request more efficient

About

Web application for tracking physical activity and promoting healthy habits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published