Skip to content

zamu5/POS-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POS API

Description

Design an API for a point of sale (POS) system

Project requirements:

  • Retrieve a menu of all the items in the POS. An item can have description, a price, a quantity and an ID
  • Add a new item to the menu
  • Update an item by ID
  • Delete an item by ID
  • Create a new order. An order should contain:
    • a list of item IDs, with a quantity for each item
    • a payment amount
    • an order note
  • Creating a successful order should return the order ID

How to use it 🚀

Open a terminal and follow the steps bellow

  • Clone the repo

    https://github.com/zamu5/POS-API.git
    
  • Move inside the project

    cd POS-API
    
  • Install requirements

    make config
    
  • Run server

    make run
    

How to use it 🔧

  • Open the Postman app
  • Import the postman collection in the Postman app

Create an item:

To create an Item use the 'Create Item' endpoint inside the API/Item in postman collection

Deployment 📦

Python 3 - backend

Author ✒️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors