Code Monkey home page Code Monkey logo

calculator's Introduction

Calculator application made with Angular and .NET core

This application has 4 funtions. Square root, Square, Factorial, and Fibonacci. Given an integer value in the input field, it calculates the result for the corresponding function.

Also there is a "Show History" button which displays the history of the operations performed. Given the number of the last n history logs in the input field, it will display the id, operation, and the operand in a tabular manner.

Demo :

Technologies :

  1. Angular
  2. .NET Core Web Api
  3. Sqlite

Installation instructions :

  1. Need to have .NET Core Installed
  2. Node, NPM, Angular
  3. Sqlite

How to set up :

Change the "ConnectionString" field's value in the 'backend/appsettings.json' file to your absolute directory location of the database which is 'calculationDB', so that it can locate the calculationDB in the backend directory.

I kept the project in /home/shahir/Projects/Web-Projects/asp_projects/ so the "DefaultConnection" value is set to "Data Source=/home/shahir/Projects/Web-Projects/asp_projects/calculator/backend/calculationDB.db;"

If you keep the project in /home then the string will be "Data Source=/home/calculator/backend/calculationDB.db;"

How to run :

  1. Open one terminal and cd to ./calculator/backend directory
  2. run 'dotnet run' to start the backend web api application
  3. Open another terminal and cd to ./calculator/frontend/frontend
  4. run 'ng serve -o'

calculator's People

Contributors

shahir-abdullah avatar

Watchers

 avatar

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.