Skip to content

React application that lets you choose a CSV file from your computer and sums the values of the cells. The application prints out a single integer of the sum of all values.

Notifications You must be signed in to change notification settings

TomaraPetty/sum_react_app

Repository files navigation

sum_react_app

GitHub

Link to site: https://tomarapetty.github.io/sum_react_app/

Table of Contents

Description

Overview of this project:
React application that lets you choose a CSV file from your computer and calculates the sum of the values of the cells. The application prints out a single integer of the sum of all values.

Installation

Steps required to install project and get the development environment established:

  • Clone repository with git clone git@github.com:TomaraPetty/sum_react_app.git
  • Enter npm install or npm i into your terminal to install all required packages.
  • Enter npm run build to build dist folder.
  • Enter npm run start to start your local server.
  • Go to localhost:8080/ to see the site running on your local machine.
git clone git@github.com:TomaraPetty/sum_react_app.git
npm install
npm run build
npm run start

Usage

Instructions and examples for use:

  1. Click upload:
    1. Click the button to see download options from your computer.
  2. Choose the sample csv file:
    1. The application will calculate the sum of the values in all of the cells, exculding the header and the first column which is a date column.
  3. Total sum:
    1. Total sum will show on the right side of the screen when the sum has been calculated.

License

  • Built under the MIT license.

Test

  • When you open the application the page should be split into two sides.
  • Hover over the button should show hover effects.
  • Click the button and it should bring up options to download from your computer.
  • If an option is selected then it should calculate a total sum and that will show to the right.

Author

Tomara Petty

Questions?

GitHub profile image

Contact

About

React application that lets you choose a CSV file from your computer and sums the values of the cells. The application prints out a single integer of the sum of all values.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published