Skip to content

Latest commit

 

History

History
106 lines (84 loc) · 11.6 KB

README.md

File metadata and controls

106 lines (84 loc) · 11.6 KB

GreatCatsby-BackEnd


👋 소개

위대한캣츠비 프로젝트 백엔드입니다.


👥 멤버

bm wy hj sg cm

🗂️ API

Admins

API Request Response
none user_id, email, name, tel, status, reg_date
email, password none
user_id, email, name none
user_id none

Members

API
Request Response
none user_id, email, name, tel, result, status, reg_date
user_id, name, tel, addr1, addr2, reg_date none
email, password, name none
user_id, email, name, tel none
user_id none
user_id, tel, addr1, addr2, name none

Orders

API
Request Response
userid, prodid order_id, user_id, prod_id
none orders.order_id, orders.order_price, order_date, orders.order_status, members.name, members.email, products.name, products.info_photo
order_price, order_select, order_count, prod_id, user_id none
order_id, order_date, order_price, order_status none

Products

API
Request Response
none prod_id, name, stock, status, price, category, thumbnail_photo, info_photo, prod_info, prod_feature, reg_date, review_count, stars_avg
prod_id prod_id, name, stock, status, price, category, thumbnail_photo, info_photo, prod_info, prod_feature, reg_date, review_count, stars_avg
none prod_id, name, stock, status, price, category, thumbnail_photo, info_photo, prod_info, prod_feature, reg_date, review_count, stars_avg
name, stock, price, category, thumImage, infoImage, prod_info, prod_feature none
prod_id, name, stock, status none

Reviews

API
Request Response
none r.review_id, name, m.email, r.review_text, r.stars, write_date
prod_id r.review_id, m.email, p.name, m.name, r.review_text, r.stars, write_date, r.review_photo
review_text, review_photo, order_id none
review_id none

⚙️ 파일 구조

├── README.md
├── _files
│   └── _logs
├── app.js
├── controllers
│   ├── Admins.js
│   ├── Members.js
│   ├── Orders.js
│   ├── Products.js
│   └── Reviews.js
├── exceptions
│   ├── BadRequestException.js
│   ├── PageNotFoundException.js
│   └── RuntimeException.js
├── helper
│   ├── FileHelper.js
│   ├── LogHelper.js
│   ├── RegexHelper.js
│   ├── UtilHelper.js
│   ├── WebHelper.js
│   ├── \_config.js
│   └── key.json
├── hook.sh
├── package-lock.json
├── package.json
├── public
│   └── favicon.png
├── resource
│   └── Dump.sql
└── webhook.js