Health Tracker is a single-page application (SPA) developed using Angular 14+. This application allows users to track their workouts, manage workout data, and visualize workout progress through various features. It is designed to help users maintain their fitness goals and monitor their activities efficiently.
- Add User Details: Allows users to input their name, workout type, and workout duration.
- Workout Tracking: Records and displays user workout data in a structured format.
- Search by Name: Quickly find users by searching their names.
- Filter by Workout Type: Filter the workout list based on the type of workout.
- Pagination: Efficiently navigate through a large list of users with pagination.
- Workout Progress Charts: Optionally display users' workout progress using charts for better visualization.
- LocalStorage: User data is stored locally using
localStoragefor persistence.
- Responsive UI: The application is designed to be responsive and user-friendly, making it accessible on various devices.
Follow these steps to run the application locally.
-
Clone the Repository:
git clone https://github.com/your-username/HealthTracker.git cd HealthTracker -
Install Dependencies:
npm install
- Start the Development Server:
Navigate to
ng serve
http://localhost:4200/. The application will automatically reload if you change any of the source files.
To generate a new component, use the following command:
ng generate component component-nameYou can also use:
ng generate directive|pipe|service|class|guard|interface|enum|moduleTo build the project, run:
ng buildThe build artifacts will be stored in the dist/ directory.
To execute the unit tests via Karma, run:
ng testor
npm run testTo execute the unit tests with coverage, run:
npm run test:covTo execute end-to-end tests via a platform of your choice, run:
ng e2eEnsure to add a package that implements end-to-end testing capabilities first.
For more help on Angular CLI, use:
ng helpor check out the Angular CLI Overview and Command Reference page.
For any questions, please contact adityatarale7@gmail.com.
Happy coding!



