Skip to content

购物网站前端后端 Front-end and back-end of a shopping website.

License

Notifications You must be signed in to change notification settings

aquamarine5/Buyistic

Repository files navigation

Buyistic

Alt

Setup

MySQL

create database buyistic;
create table buyistic.accounts
(
    uuid     text not null,
    username text not null,
    password text not null
);
create table buyistic.items
(
    imgurl        text  not null,
    nowprice      float not null,
    rawprice      float not null,
    title         text  not null,
    detail        text  not null,
    id            int auto_increment primary key,
    categories    text  not null,
    type          int   not null,
    introductions text  not null
);
create table buyistic.orders
(
    orderid    text      not null,
    itemid     int       not null,
    createTime timestamp not null,
    status     int       not null,
    price      double    not null,
    userid     text      not null
);

Springboot

gradle build
java -jar Buyistic.jar

Vue

npm run dev

HTTP APIs

for Foreground

  • GET /get_item?id=${ITEMID}

  • GET /get_items

  • GET /get_user?userid=${USERID}

  • GET /buyit?userid=${USERID}&itemid=${ITEMID}&price=${PRICE_NUMBER}

  • GET /cancel_order?orderid=${ORDERID}

  • GET /get_order?orderid=${ORDERID}

  • GET /orders?userid=${USERID}

  • POST /login?username=${USERNAME}?password=${PASSWORD}

About

购物网站前端后端 Front-end and back-end of a shopping website.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •