GithubHelp home page GithubHelp logo

liquor-store's Introduction

{
    "firstName": "simon",
    "lastName": "wandera",
    "gender":"male",
    
    "dob": "2000-4-4",
    "email": "[email protected]",
    "phone":"+254713103666",
    "username": "simonwandera",
    "password": "12345678",
    "confirmPassword":"12345678"
  }

http://127.0.0.1:5000/user
user POST


-----------------


{
    "category_name": "Gin",
    "text_description": "This is a sample text description",
    "imageURL":"https://images/img.jpg"
  }


product type (Product category)
POST
https://liquorstorev1.pythonanywhere.com/product_type

-----------------------


{
    "category_id": 2,
    "name": "Red Label",
    "text_description":"You can use this gin or throw it away",
    "html_description": "Has always been my favourite taste",
    "buy_price": 4000,
    "quantity_in_stock":2000,
    "imageURL":"https://this.is.a.gpg"
  }

product
POST
----------------------------------


{
   "product_id": 1,
   "quantity":2
}


http://127.0.0.1:5000/productCart/add_to_cart
POST


-------------------

{
"product_id":"1"
}

http://127.0.0.1:5000/productCart/remove_from_cart

POST


http://127.0.0.1:5000/user/items_in_cart

GET
token required

-------------------------------------------

http://127.0.0.1:5000/user/cart
GET 
Token required
--------------------------------------------
http://127.0.0.1:5000/user/items_in_cart
token require

-------------------


http://127.0.0.1:5000/checkout


POST
token required








liquor-store's People

Contributors

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