Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 540 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 540 Bytes

Simple Calculator

This is a simple API written in core js

Setup Instructions:

  • You should have node installed on your machine to run this localy
  • Clone this Repo
  • Install node modules npm install
  • Run : npm run start

Routes :

/add?num1={}&num2={} => Returns Addition of two Number
/sub?num1={}&num2={} => Returns Subtraction of two Number
/mul?num1={}&num2={} => Returns Mulitplication of two Number
/div?num1={}&num2={} => Returns Division of two Number
/mod?num1={}&num2={} => Returns Modulo of two Number