Web application for tracking physical activity and promoting healthy habits
To run the project locally follow these steps
Make sure you have installed
- [Node.js] (with npm packet manager, to run Angular application) https://nodejs.org/en
- [.NET SDK] (to run ASP .NET Core Web Api) https://dotnet.microsoft.com/en-us/download/visual-studio-sdks
- [SQL Server] (local data base) https://www.microsoft.com/pl-pl/sql-server/sql-server-downloads
- [SQL Server Management Studio] https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16
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
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
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
Below you can find some of the main functionalities already implemented in the application
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
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.
In the app you can search for friends, send invitations and view their profiles.
![]()
A place to view a user's profile. Here you can change your profile picture and pin achievements.
![]()
Every day, notifications are generated with the achieved results and tips on how to improve results in each activity.
![]()
A system for earning badges for specific tasks performed in the application.
![]()
Viewing results from a selected time range
![]()
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.
![]()
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