Giter Club home page Giter Club logo

inventory's Introduction

NYU DevOps Project Inventory Squad

License Python Build Status Build Status codecov

Description

The inventory resource keeps track of how many of each product we have in our warehouse. At a minimum it will reference a product and the quantity on hand. Inventory also tracks restock levels and the condition of the item (i.e., new, open box, used). Restock levels will help you know when to order more products. Being able to query products by their condition (e.g., new, used) is very useful.

Database Schema

Column Data type Condition
id int id > 0
quantity int quantity > 0
inventory_name string N/A
category string N/A
condition Enum condition in set(NEW, OPENED, USED)
restock_level <integer> restock_level > 0

API endpoints

Method URI Description Input
GET /inventory/ List all items in the inventory Item Attribute(s)
GET /inventory/<int:id> Given the correct id this retrieves the inventory Item ID
DELETE /inventory/<int:id> Given the correct id this deletes the entry Item ID
PUT /inventory/<int:id> Given the correct id this updates the entry Item Attributes
POST /inventory Given the inventory parameters, create a new inventory entry Item Attributes
PUT /inventory/<int:id>/restock Click on the restock button will increase the quantity of an item if it is below restock_level Item Attributes

License

Copyright (c) 2016, 2024 John Rofrano. All rights reserved.

Licensed under the Apache License. See LICENSE

This repository is part of the New York University (NYU) masters class: CSCI-GA.2820-001 DevOps and Agile Methodologies created and taught by John Rofrano, Adjunct Instructor, NYU Courant Institute, Graduate Division, Computer Science, and NYU Stern School of Business.

inventory's People

Contributors

rofrano avatar ericyoung37 avatar liupeiliang avatar ritikamotwani avatar yy0000c avatar sakshi2212 avatar jjrofrano avatar billykern avatar dependabot[bot] avatar snyk-bot 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.