/react-calculator

A React Calculator App with a Daily Quotes page, and About page. Using React and React Router with CSS to create it.

Primary LanguageJavaScriptMIT LicenseMIT

logo

📗 Table of Contents

📖 Math Magicians

This is my Microverse Math Magicians site, created with React and CSS.

🛠 Built With

Tech Stack

React
CSS
GitFlow

Key Features

  • React
  • GitFlow

(back to top)

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Code editor
  • Node
  • Registered account at the following external API: API NINJAS

Setup

Clone this repository to your desired folder by opening the terminal and running the following command:

  git clone git@github.com:hajnaloltyan/react-calculator.git

Install

Install this project with:

  npm install

Usage

Create in the project's root directory a .env file without installing any additional dependency.

Inside that file add your own API key with the following format:

  REACT_APP_API_KEY='your API key'

To run the project use the following command:

  npm start

Run tests

To run tests, run the following commands:

For CSS linter errors:

  npx stylelint "**/*.{css,scss}"

For ESLint linter errors:

  npx eslint "**/*.{js,jsx}"

Deployment

Deployed by GitHub Pages.

  npx run deploy

(back to top)

👥 Authors

👤 Hajnalka Oltyan

(back to top)

🔭 Future Features

  • Add more operation buttons to the Calculator

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

⭐️ Show your support

If you like this project please leave a star and a comment.

(back to top)

🙏 Acknowledgments

I would like to thank Microverse to have this opportunity, and also thank you the code review team.

(back to top)

📝 License

This project is MIT licensed.

(back to top)