Mathemagician is a web app for all fans of mathematics.

Overview

Mathemagician | M3Wx

"Mathemagician" is a web app for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote.

screenshot

Our goal here is to Build a single page web application for mathematics weebs using the React library

Live Demo

Click here to view live demo

Features implemented so far are:

  • Project Setup with React Installations
  • Calculator with (Add, Minus, Multiply, and Division) Features
  • Page for Mathematics Quotes
  • Home page that gives information about the history of mathematics

Built With

  • React (A free and open-source front-end JavaScript library for building user interfaces based on UI components)
  • React Testing Library
  • React Router version 6
  • Stylelint (A mighty, modern linter that helps you avoid errors and enforce conventions in your styles).
  • ESlint (A mighty, modern linter that helps you avoid errors and enforce conventions in JavaScript codes)

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

Prerequisites

The basic requirements for building the executable are:

  • A working browser application (Google chrome, Mozilla Fire fox, Microsoft edge ...)
  • VSCode or any other equivalent code editor
  • Node Package Manager (For installing packages like Lighthous, webhint & stylelint used for checking for debugging bad codes before deployment)

Getting Started

Cloning the project

git clone  https://github.com/harlexkhal/Mathemagician 
   

   

Getting packages and dependencies

To get all package modules required to build the project run:

npm install

every package module required to build the project is listed in the package.json file. this is used as a reference to get all dependencies.

Building

To build the project run:

npm run build

after you run this sucessfully you'd locate the build from in the build folder located from the parent directory of the project.

Running

To run the program on a browser through a server run this command in your cli

npm start

This should open the page in your localhost on port 3000. then you'd be able to view the built page generated using webpack.

Unit-Testing

You can find all of the unit test for testing all components in the src/__Test__ folder located in the parent source directory of the project. you can create your own custom unit test and test it by running

npm run test

This should run all unit test found in the src/__Test__

License

All source code files are licensed under the permissive zlib license (http://opensource.org/licenses/Zlib) unless marked differently in a particular folder/file.

Author

You might also like...

"Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote.

Math magicians "Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations

Aug 26, 2022

Math magicians is a website for all fans of mathematics

Math magicians is a website for all fans of mathematics

Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote.

Apr 17, 2022

Math magicians is a website for all fans of mathematics

Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote. 🧐

Apr 2, 2022

Math Magicians is a website for all fans of mathematics.

Math Magicians is a website for all fans of mathematics.

"Math Magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote.

Dec 7, 2022

Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

May 18, 2022

Hemsida för personer i Sverige som kan och vill erbjuda boende till mÀnniskor pÄ flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

May 3, 2022

Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

Jan 3, 2023

Self-rendering and distributable mathematics chalkboards

Self-rendering and distributable mathematics chalkboards

Muboard Muboard is a tiny utility that runs a mathematics display board as a web page. Muboard lets you quickly scribble mathematics snippets using Ma

Dec 15, 2022

Hi, Spring fans! In this installment we look at the just-released Hilla framework, from our friends at Vaadin

Custom project from Hilla This project can be used as a starting point to create your own Hilla application with Spring Boot. It contains all the nece

Nov 17, 2022
Comments
  • Math magicians: full website

    Math magicians: full website

    • [x] Created a website consisting of 3 pages: Home, Calculator, and Quote.
    • [x] Made general layout to match wireframe.
    • [x] Added my own styles to improve the look and feel.
    • [x] Created a route for every page
    • [x] Tested all navigation links to every page and made sure it worked
    • [x] Used React routers to make sure navigation between pages works
    • [x] Launched to GitHub pages here
    opened by harlexkhal 1
  • Math magicians: Events

    Math magicians: Events

    • [x] Copied the files Calculate.js and Operate.js into a logic/ directory in your project.
    • [x] Analyzed the files Calculate.js and Operate.js and understood what they did.
    • [x] Imported the files in your Calculator component.
    • [x] Implemented the event handlers I needed to use the math logic from Calculate.js and Operate.js in your React component.
    • [x] Practiced what I've learned from state and props, passing props to child components, using lifecycle methods, and lifting the state up.
    • [x] Tested app in the browser. to make sure it performed all the math operations.
    • [x] Launched to GitHub pages here
    opened by harlexkhal 1
  • Math magicians: tests

    Math magicians: tests

    • [x] Set up React Testing Library
    • [x] Write unit tests for the files operate.js and calculate.js using Jest.
    • [x] Create unit tests for all React components
    • [x] Use Jest snapshots to test the components.
    • [x] Use React Testing Library to simulate user interaction.
    • [x] Run full tests suite using Jest. All tests should pass.
    opened by harlexkhal 0
  • Math magicians: Components

    Math magicians: Components

    • [x] Delete all the boilerplate from CRA (text, images, styles).
    • [x] Create a directory called components.
    • [x] Inside components, create a new Calculator.js file.
    • [x] In Calculator.js, create a React component that matches the design given
    • [x] No addition of extra design.
    • [x] Developed just the UI of the calculator
    • [x] Use class-based components.
    • [x] imported Calculator.js for use in the main component (App.js).
    • [x] Tested in the browser, and renders without problems.
    opened by harlexkhal 0
Owner
Alexander Oguzie-Ibeh
Software Engineer & Game programmer, I have a strong niche for good code architectural design and optimization. C++,C#, Java, JS, PHP. Open to new opportunities
Alexander Oguzie-Ibeh
Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations. Read a random math-related quote.

Math Magicians. Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations

Mithlesh kumar 5 Mar 29, 2022
Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote. Build with React.js

Math Magicians Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations an

Kyrillos Hany 9 Mar 23, 2022
"Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations. Read a random math-related quote.

Math Magician "Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations.

Emmanuel Allan 6 Jun 27, 2022
"Math Magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations. Read a random maths-related quote.

Project Name : Math Magicians "Math Magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simp

Amrendra K 8 May 29, 2022
Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations. Read a random math-related quote.

react-math-magicians React Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: - - Make simpl

null 5 May 27, 2022
"Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read random math-related quotes. Its built using react

Math Magician "Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations a

Charles Gobina 5 Feb 23, 2022
Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to Make simple calculation.

Math Magians Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to Make simple calculation. Live

Nedjwa Bouraiou 8 Sep 6, 2022
Module 03 project: Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to Make simple calculations and Read a random math-related quote.

Math-magicians Math magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to Make simple calculations an

Basir Mohammadi 14 Sep 26, 2022
Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations and Read a random math-related quote.

Capstone project / FilmTube This is the final project of the moduel 2. we build a series page using an API to display all the series on the main page

Amalia Gomez Moro 5 Aug 23, 2022
"Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make simple calculations. Read a random math-related quote.

ONLINE MATH CALCULATOR USING REACT "Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: Make

Natasha  Tatenda Chirombe 6 Aug 24, 2022