Giter Site home page Giter Site logo

react-calculator-app's Introduction

Introduction

This project is an online calculator made by the React framework. When users login, they can use the online calculator. This project mainly realizes three functions: registration, login and online calculator.

This project is mainly created by the React framework, React Router and React Redux. It is an SPA(single page application). At its core, what React Router does is conditionally render certain components to display based on the route used in the URL. To switch between functions, I tried React Router. I use the React Redux to realize the function of online calculator.

Demo

  • Login Page:Alt text In this page you should input the username and password to login. If the username and password do not fulfill the requirement, it will have alert to tell you what's the problem.

  • Register Page: Alt text When you sign up for account, you should obey the rule. Otherwise, a pop-up alert will prompt where there is an error.

  • Calculator Page: Alt text When you have signed in, you will find that there is an additional option(calculator) in the navigation bar. The Sign in and Sign up change to the username and Quit. You can operate the calculator either by the keyboard or mouse. If you press the Quit, the calculator option will be disappeared and tags on the right angle will change back to the Sign in and Sign up.

How to run?

npm start

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

The page will reload when you make changes.
You may also see any lint errors in the console.

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.