Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded the README Documentation: Detailed Project Overview, Table of Contents, Improved Installation Instructions, and Contribution Guide #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 51 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,66 @@
[![Coverage Status](https://coveralls.io/repos/github/GermaVinsmoke/bmi-calculator/badge.svg?branch=master)](https://coveralls.io/github/GermaVinsmoke/bmi-calculator?branch=master)
[![codecov](https://codecov.io/gh/GermaVinsmoke/bmi-calculator/branch/master/graph/badge.svg)](https://codecov.io/gh/GermaVinsmoke/bmi-calculator)

React Hooks app to calculate the BMI of a person. It can store the data for 7 days with the help of LocalStorage.
## Overview

**BMI Calculator** is a React Hooks-based app that calculates the Body Mass Index (BMI) of a person based on their height and weight. The app stores BMI data for up to 7 days using LocalStorage, which allows users to track their BMI history over a short period.

The project was bootstrapped using _create-react-app_ and is intended to demonstrate the use of React Hooks, state management, and local storage. It can be used as a simple, lightweight health monitoring tool or as a base for more complex health-related projects.

See the [full create-react-app guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).

![](images/1.jpg)

Created with _create-react-app_. See the [full create-react-app guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
## Table of Contents
- [Overview]
- [Installation]
- [Usage]
- [Contributing]
- [Enhancements]


## Installation

To set up the project locally, follow these steps:

1. Clone the repository:
```bash
git clone https://github.com/GermaVinsmoke/bmi-calculator.git

## Install
2. Navigate into the project directory:
```bash
cd bmi-calculator

3. Install the dependencies:
```bash
npm install

4. Run the initial build (only required the first time):
```bash
npm run build

`npm install`

## Usage
1. Start the application:
```bash
npm start

2. Open the http://localhost:3000 link to view the app

## Contributing

We welcome contributions to improve the BMI Calculator app as it is an Open Source Project! If you'd like to contribute, follow these steps:

1. **Fork the repository** on GitHub by clicking the "Fork" button in the top-right corner.
2. **Clone your fork** to your local machine using the steps provided in the installation section.
3. **Create a new branch** for your feature/bug fix.
4. Make your changes and **commit** them.
5. **Push the branch** to your fork.
6. **Submit a Pull Request** to the original repository.

`npm start`

## Enhancement
## Enhancements

1. Removing the dependency of Materialize-CSS module
2. ~~Chart going crazy on hovering over the old points~~

~~2. Chart going crazy on hovering over the old points~~