This repository holds the source code of a calculator for Megasoft with NodeJS/Express/MongoDB
This project provide API and web page for:
- basic calculations (add, subtract, multiple, divide).
- A log report showing the operations that have been performed.
For building and running the application you need:
To change configurations (server port, database name ...) bin/www
, config/mongoose.js
Use command-line or any other tools to install dependencies.
npm install
There are several ways to run a Nodejs application on your local machine. you can use the command-line:
npm start
for a dev server. Navigate to http://127.0.0.1:3000/
.
The app will automatically reload if you change any of the source files.