Git Product home page Git Product logo

vendingmachine-mern-rest-api's Introduction

๐ŸŒ FINAL VENDING

An API to perform vending machine operations.


๐Ÿ”ฅ How To Run

  • Open terminal and navigate to finalvending/server
  • Run npm i
  • Run npm run server
  • Open Postman Tool and verify all the endpoints on localhost:5000/ATTRIBUTE

๐Ÿ”ฅ ATTRIBUTE

  • /entermoney - End point for entering coins.
  • /selectdrinks - End point for selecting drinks and checking whether the requested drinks are available or not.
  • /pickup - End point for calculating bill.
  • /addmoney - End point for entering extra money to complete the transaction.
  • /refresh - End point for resetting the transaction by terminating it.

๐Ÿ”ฅ Features

  • Different types of coin inputs.
  • Checks availability of stocks.
  • Gives requested product and remaining change(if applicable).
  • Reset option available for vending machine supplier.

๐Ÿ’ก Built Using

  • NODEJS
  • EXPRESSJS
  • MONGODB-ATLAS
  • POSTMAN API TESTING TOOL

๐Ÿ’ป Screenshots

  • Enter Money


- **Select Drinks**


- **Billing Stage**


- **Response When Insufficient Amount Is Paid**


- **Adding Extra Money Which Was Asked**


- **Reset Option To Termninate Ongoing Transaction**


๐Ÿ‘จ Project Created & Maintained By


Shashank Verma

vendingmachine-mern-rest-api's People

Contributors

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