Giter Club home page Giter Club logo

altallinonestoreapi's Introduction

altallinonestoreapi

This API is designed as an alternative to the allinonestoreapi: https://github.com/mahesh2247/allinonestoreapi/

It combines a simple UI which consists of a textarea to accept valid JSON input and process invoice all in the same page.

The API computational logic for the input is as follows :

  • 5% on medicines and Food
  • 5% on clothes below 1000 INR and 12% above 1000INR purchase
  • 3% on music cds/dvds
  • Flat 18% on the imported commodities.
  • Books are exempted from tax.
  • On every purchase I get a receipt that has the below information :
  • Date and Time of purchase
  • List of commodities, each with their final price, tax amount with the applicable rate
  • Total amount payable
  • Additionally, a 5% discount is applied by the store if the bill exceeds 2000INR.
  • The bill is sorted in the ascending order of the commodity names.

The API can be run directly from heroku cloud from the deployments menu in right hand corner of the github repo or here: https://altallinonestoreapi.herokuapp.com/

This API was created as a sample project for a sample use case as part of Interview Assessment.

altallinonestoreapi's People

Contributors

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