Giter VIP home page Giter VIP logo

math-magicians's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– 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.
  • Read a random math-related quote.

Built With

  • React.js
  • VSCode and GitHub

Tech Stack

Client
Server
Database
  • N/A

(back to top)

Key Features

  • [Git Flow]
  • [Best practices for JavaScript]

(back to top)

Live Demo

Live Demo Link

๐Ÿ’ป Getting Started

Clone this repository to get started with the project, make sure to configure linters by following the instructions in the Linters README file

Prerequisites

In order to run this project you need:

Setup

  • Clone the folder to your local machine.
  • Open a local copy of the project in your code editor.

(back to top)

Usage

  • To run the project, execute the following command:

    • npm start in your terminal.
  • To run test functions, execute the following command:

    • npm test in your terminal.

(back to top)

Run tests

  • After pushing the changes on github, merge your pull request and let github action process changes and fix errors, if any.
    • For stylelint errors run:sudo npx stylelint "*/.{css,scss}" --fix for automatic fix.
    • For ESLINT errors run:npx eslint "**/*.{js,jsx}" --fix for automatic fix.

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Ashmal Zahra

(back to top)

๐Ÿ”ญ Future Features

  • Deployment

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

Give a โญ๏ธ if you like this project!

(back to top)

๐Ÿ™ Acknowledgments

I would like to thank Microverse for the information provided to build this project.

(back to top)

โ“ FAQ (OPTIONAL)

  • Can I use the project for any purpose?

    • Yes, you can.
  • Is the information saved in any database?

    • No, all data is saved in Local Storage.

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

math-magicians's People

Contributors

ashmalzahra avatar inakiesk avatar

Stargazers

Felipe Haybar Valenzuela avatar

Watchers

 avatar

math-magicians's Issues

Functional Components & Why?

Why functional components over class-based ones?

  • Classes are bigger
    • Functional components are smaller. In terms of file size, this may seem insignificant in smaller projects, but in larger applications, this can result in a decent reduction in bundle size, which will improve the performance of your application.
  • Combine code in a meaningful way
    • In classes, things that should be tied together are forced to be split apart, and things that should be split apart are forced together.
  • Reusing stateful logic across components
    • Class components often require lots of nesting or using mixins, and in some cases, code has to be repeated.

As of React v16.8 it's recommended to only write functional components. You might see class components every once in a while, but using them is discouraged. Which is why my project is built using functional components only. Even in this small application, using functional components has lowered the file sizes and improved the readability of the application. If you'd like to look further, you can find the current version of the app here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.