Skip to content

aatif24/shapeCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shape Calculator

System requirement

NodeJs ^13.7.0
npm ^6.13.6

run npm install into root folder to add all required packages to the project

Shapes are dynamically added to the app, new shape can easily be added with required fields, find shapes data in below json file. Also, this can be fetched using API.

src/data/shapes.json

Available Scripts

In the project directory, you can run:

yarn start OR npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test OR npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build or npm build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

app calculates the area of the given shape

Resources

Stars

Watchers

Forks

Packages

No packages published