To demonstrate the use of stateless RESTful web services using simple Calculator application.
Individual assignment for CMPE 273 - Enterprise Distributed Systems course during Software Engineering.
This calculator application is capable of handling following functions:
- Addition
- Subtraction
- Multiplication
- Division
For Detailed Description check Project Report
Applications uses a simple Client-Server architecture
- Client Side : ReactJS (Redux, HTML5 and Bootstrap)
Consists of mainly 3 Components : CalculatorButton, CalculatorDisplay and Calculator.
- Server Side : NodeJS, ExpressJS
Consists of APIs to serve client requests.
Name | Description | Used |
---|---|---|
React | Fast, composable client-side components. | Frontend |
Redux | Enforces unidirectional data flows and immutable, hot reloadable store. Supports time-travel debugging. | Frontend |
React Router | A complete routing library for React | Frontend |
Axios | Promise based HTTP client for the browser and node.js | Frontend |
Express | For creating the backend logic | Backend |
Babel | Compiles ES6 into ES5 | General |
Webpack | Bundles npm packages and our JS into a single file. | General |
ESLint | Lint JS. Reports syntax and style issues. | General |
- Go to path : \Calculator
- npm install
- npm run start-dev
This will start ReactJS server on 3000 port and NodeJS server will start at 3001 port.