Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/desmondsanctity/prime-numbers-multiple-react

A react web application that returns a multiplication table for a range of prime number.
https://github.com/desmondsanctity/prime-numbers-multiple-react

jest jest-tests jsx react react-hooks

Last synced: 14 days ago
JSON representation

A react web application that returns a multiplication table for a range of prime number.

Awesome Lists containing this project

README

        

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Cloning and Running on Your Machine

In your local machine, run the command "git clone github.com/DesmondSanctity/prime-numbers-multiple-react.git"

Inside the directory where the project is cloned run:

### `yarn start` to launch project

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

HomePage.

![Home Image](https://github.com/DesmondSanctity/prime-numbers-multiple-react/blob/main/documentation/prime-home.PNG)

The page will reload if you make edits.

You will also see any lint errors in the console.

## Testing the components using jest
### `yarn test`

Launches the test runner in the interactive watch mode.

See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

My Test.

![Test Image](https://github.com/DesmondSanctity/prime-numbers-multiple-react/blob/main/documentation/test.PNG)

## Building for Production
### `yarn 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](https://facebook.github.io/create-react-app/docs/deployment) for more information.

## Technologies Used
- React
- React Hooks
- Jest
- JSX