Health Challenge 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
localStorage
for 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/swarnilk29/fit-fusion.git
-
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-name
You can also use:
ng generate directive|pipe|service|class|guard|interface|enum|module
To build the project, run:
ng build
The build artifacts will be stored in the dist/
directory.
To execute the unit tests via Karma, run:
ng test
or
npm run test
To execute the unit tests with coverage, run:
npm run test:cov
To execute end-to-end tests via a platform of your choice, run:
ng e2e
Ensure to add a package that implements end-to-end testing capabilities first.
For more help on Angular CLI, use:
ng help
or check out the Angular CLI Overview and Command Reference page.