Giter Site home page Giter Site logo

kiosk-api-server's Introduction

kiosk-api-server API 🎵

📍 목차

👤 유저 관련
📜 메뉴 관련
🔔 주문 관련
💰 매출 관련


👤 유저 관련

회원가입 /user/register [POST]

Request

  • id: String
  • password: String

Response

  • ok: Boolean
  • msg: String

⬆️Top

로그인 /user/login [POST]

Request

  • id: String
  • password: String

Response

  • ok: Boolean
  • msg: String

⬆️Top


📜 메뉴 관련

메뉴 추가 /menu/add [POST]

Request

  • id: String
  • password: String
  • name: String
  • text: String
  • price: Number
  • imageURL: String
  • category1: String

Response

  • ok: Boolean
  • msg: String

⬆️Top

메뉴 삭제 /menu/remove [POST]

Request

  • id: String
  • password: String
  • name: String

Response

  • ok: Boolean
  • msg: String

⬆️Top

모든 메뉴 리스트 얻기 /menu [POST]

Request

  • id: String
  • password: String

Response

  • ok: Boolean
  • msg: String
  • data: { menus: [ menu1, menu2, ... ] }

⬆️Top

카테고리로 메뉴 리스트 얻기 /menu/category [POST]

Request

  • id: String
  • password: String
  • category1: String[optional]

Response

  • ok: Boolean
  • msg: String
  • data: { menus: [ menu1, menu2, ... ] }

⬆️Top

이름으로 메뉴 정보 얻기 /menu/name [POST]

Request

  • id: String
  • password: String
  • name: String[optional]

Response

  • ok: Boolean
  • msg: String
  • data: { menu: Menu }

⬆️Top


🔔 주문 관련

주문 추가 /order/add [POST]

Request

  • id: String
  • password: String
  • name: String
  • tableNum: Number

Response

  • ok: Boolean
  • msg: String

⬆️Top

주문 삭제 /order/remove [POST]

Request

  • id: String
  • password: String
  • orderId: String

Response

  • ok: Boolean
  • msg: String

⬆️Top<

주문 상태 변경 /order/changeStatus [POST]

Request

  • id: String
  • password: String
  • orderId: String
  • status: Number

Response

  • ok: Boolean
  • msg: String

⬆️Top

모든 주문 리스트 얻기 /order [POST]

Request

  • id: String
  • password: String

Response

  • ok: Boolean
  • msg: String
  • data: { orders: [ order1, order2, ... ] }

⬆️Top

💰 매출 관련

일 매출 얻기 /order/dayOrder [POST]

Request

  • id: String
  • password: String
  • year: Number
  • month: Number
  • day: Number

Response

  • ok: Boolean
  • msg: String
  • data: { count: { [menu1]: Number, [menu2]: Number, ... }, totalPrice: Number }

⬆️Top

월 매출 얻기 /order/monthOrder [POST]

Request

  • id: String
  • password: String
  • year: Number
  • month: Number

Response

  • ok: Boolean
  • msg: String
  • data: { count: { [menu1]: Number, [menu2]: Number, ... }, totalPrice: Number }

⬆️Top

kiosk-api-server's People

Contributors

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