Coder Social home page Coder Social logo

deploy4customapp's Introduction

Deploy4CustomApp

This custom app will be able to take in two parameters. The two parameters are Budget and Spend amount. The two parameters will be taken and it will calculate how much of the budget is left with Budget - Spend which are then fed into the Left variable. which will feed the input variables and the calculation result into a database.

Ex Try:

Windows: curl -X POST http://127.0.0.1:5000/SubBudge/new -d "{"Budget": "2000", "Spent": "900"}" -H 'Content-Type: application/json'

Mac: curl -X POST http://127.0.0.1:5000/SubBudge/new -d '{"Budget": "2000", "Spent": "900"}' -H 'Content-Type: application/json'

Why I chose to do this:

I chose to create a table that can take two values and do a simple subtraction simply because I wanted to see what I could do with what was given in the todo app. Doing so helped me to understand the application better and how I can get the front and backend to communicate with each other. The issue I ran into while approaching this app was that I was more of a backend person so I had to do some research on the frontend.

My application works by having the frontend act as a user interface while the backend acts as the logic. The frontend simply gets the needed data from the user and then once the submit button is hit the backend does the rest of the work. The backend will take the data supplied by the user in the frontend and make a calculation based on the two parameters then adjust the table and finally commits the changes.

deploy4customapp's People

Contributors

saihoyip 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.