jsp-hyukshop
所属分类:数据库系统
开发工具:Java
文件大小:10422KB
下载次数:0
上传日期:2022-11-05 15:29:09
上 传 者:
sh-1993
说明: 使用Java Servlet的在线购物中心项目
(Online Shopping mall Project using Java Servlet)
文件列表:
.classpath (816, 2022-11-05)
.project (873, 2022-11-05)
.settings (0, 2022-11-05)
.settings\.jsdtscope (555, 2022-11-05)
.settings\org.eclipse.core.resources.prefs (75, 2022-11-05)
.settings\org.eclipse.jdt.core.prefs (537, 2022-11-05)
.settings\org.eclipse.wst.common.component (456, 2022-11-05)
.settings\org.eclipse.wst.common.project.facet.core.xml (334, 2022-11-05)
.settings\org.eclipse.wst.jsdt.ui.superType.container (49, 2022-11-05)
.settings\org.eclipse.wst.jsdt.ui.superType.name (6, 2022-11-05)
LICENSE (1069, 2022-11-05)
WebContent (0, 2022-11-05)
WebContent\META-INF (0, 2022-11-05)
WebContent\META-INF\MANIFEST.MF (36, 2022-11-05)
WebContent\META-INF\context.xml (349, 2022-11-05)
WebContent\WEB-INF (0, 2022-11-05)
WebContent\WEB-INF\lib (0, 2022-11-05)
WebContent\WEB-INF\lib\commons-codec-1.9.jar (263965, 2022-11-05)
WebContent\WEB-INF\lib\commons-lang3-3.9.jar (503880, 2022-11-05)
WebContent\WEB-INF\lib\commons-logging-1.2.jar (61829, 2022-11-05)
WebContent\WEB-INF\lib\gson-2.8.5.jar (241622, 2022-11-05)
WebContent\WEB-INF\lib\jstl-1.2.jar (414240, 2022-11-05)
WebContent\WEB-INF\lib\lombok.jar (1914266, 2022-11-05)
WebContent\WEB-INF\lib\lucy-xss-1.6.3.jar (129073, 2022-11-05)
WebContent\WEB-INF\lib\lucy-xss-servlet-2.0.1.jar (17184, 2022-11-05)
WebContent\WEB-INF\lib\mysql-connector-java-8.0.21.jar (2397321, 2022-11-05)
WebContent\WEB-INF\web.xml (1532, 2022-11-05)
WebContent\css (0, 2022-11-05)
WebContent\css\style-cart.css (4341, 2022-11-05)
WebContent\css\style-checkout.css (6319, 2022-11-05)
WebContent\css\style-common.css (3756, 2022-11-05)
WebContent\css\style-favorite.css (1233, 2022-11-05)
WebContent\css\style-footer.css (623, 2022-11-05)
WebContent\css\style-header.css (1670, 2022-11-05)
WebContent\css\style-index.css (1105, 2022-11-05)
WebContent\css\style-pageForAll.css (884, 2022-11-05)
WebContent\css\style-product.css (5378, 2022-11-05)
WebContent\css\style-qna.css (1218, 2022-11-05)
... ...
# JSP
### : 21.01.13 ~ 21.01.29
### : (chmh0805@naver.com)
### EC2 : ~~http://15.1***.166.37/shop~~ EC2 .
### : https://youtu.be/UMdEGoW_ulQ
##
- Windows 10
- JDK 1.8
- Tomcat 9.0
- STS Tool
- MySQL 8.0
- Lombok
- Gson
- JSTL
- Naver Lucy Filter
- SHA-256
- Encoding : UTF-8
## , ,
1.
- https://www.brandi.co.kr/
2.
- https://www.trenbe.com/
3.
- https://www.balaan.co.kr/
##
- , .
## API
1. API
- https://developers.kakao.com/product/kakaoLogin
2. API
- https://nid.naver.com/user2/campaign/introNaverIdLogin.nhn
- , / id user insert.
- user id, id SELECT .
3. API ( )
- https://www.iamport.kr/getstarted
4. summernote API
- https://summernote.org/
5. sweetalert2
- https://sweetalert2.github.io/
## MySQL
```sql
CREATE USER 'shopuser'@'%' identified by 'shop0805';
GRANT ALL privileges on *.* TO 'shopuser'@'%';
create database shopdb;
```
## MySQL
```sql
use shopdb;
```
```sql
CREATE TABLE product(
id int primary key auto_increment,
productName varchar(120) unique not null,
companyId int not null,
price long not null,
soldCount int default 0,
detail longtext not null,
imgUrl_1 varchar(100) not null,
imgUrl_2 varchar(100),
imgUrl_3 varchar(100),
imgUrl_4 varchar(100),
writerId int,
createDate timestamp default now(),
updateDate timestamp default now()
);
```
```sql
CREATE TABLE user(
id int primary key auto_increment,
username varchar(20) unique default null,
name varchar(20) not null,
email varchar(50) not null,
phone varchar(13) not null,
address varchar(120) not null,
password char(***) not null,
kakaoId long,
naverId long,
auth varchar(10) default 'user',
createDate timestamp default now()
);
```
```sql
CREATE TABLE company (
id int primary key auto_increment,
name varchar(40) unique not null,
url varchar(80) unique
);
```
```sql
CREATE TABLE favorite(
id int primary key auto_increment,
userId int not null,
productId int not null,
createDate timestamp default now()
);
```
```sql
CREATE TABLE cart(
id int primary key auto_increment,
userId int not null,
productId int not null,
createDate timestamp default now()
);
```
```sql
CREATE TABLE qna(
id int primary key auto_increment,
userId int not null,
productId int not null,
optionNo int not null,
password varchar(4),
detail longtext,
createDate timestamp default now()
);
```
```sql
CREATE TABLE review(
id int primary key auto_increment,
userId int not null,
productId int not null,
detail longtext not null,
createDate timestamp default now(),
updateDate timestamp default now()
);
```
#
1.
![image](https://user-images.githubusercontent.com/63082842/106240752-2e5dd200-6248-11eb-9079-161fdddf2b83.png)
- SHA-256 DB .
2.
![image](https://user-images.githubusercontent.com/63082842/106240841-53524500-6248-11eb-884c-5c51142c0813.png)
3.
![image](https://user-images.githubusercontent.com/63082842/106241091-c8be1580-6248-11eb-99b1-bd787c8ab9aa.png)
4.
![image](https://user-images.githubusercontent.com/63082842/106241324-3407e780-6249-11eb-8828-76e0f673***53.png)
/
![image](https://user-images.githubusercontent.com/63082842/106241414-5994f100-6249-11eb-816b-39a3450ca076.png)
5.
6.
![image](https://user-images.githubusercontent.com/63082842/106241659-c14b3c00-6249-11eb-90f6-c3230a020bb4.png)
- Carousel .
- grid Layout .
7.
![image](https://user-images.githubusercontent.com/63082842/106241762-ec359000-6249-11eb-8d99-5bc8ca0e8397.png)
- SELECT company . ( .)
- header , filter .
8.
![image](https://user-images.githubusercontent.com/63082842/106244992-19387180-624f-11eb-9255-***7a3590edcc.png)
9.
![image](https://user-images.githubusercontent.com/63082842/106245244-82b88000-624f-11eb-9771-***bec7015d12.png)
- .
10.
![image](https://user-images.githubusercontent.com/63082842/106244815-d8d8f380-624e-11eb-9eee-7b886d0f8d06.png)
- product , ORDER BY soldCount DESC .
11.
![image](https://user-images.githubusercontent.com/63082842/106245360-aa0f4d00-624f-11eb-9e85-1a0315e1bb34.png)
- .
12.
![image](https://user-images.githubusercontent.com/63082842/106245552-f8245080-624f-11eb-9a16-4b307b6884c4.png)
- admin , .
- , , , .
13.
![image](https://user-images.githubusercontent.com/63082842/106245663-2c***0c80-6250-11eb-9caa-fb189732be99.png)
- , SHA-256 DB .
14.
![image](https://user-images.githubusercontent.com/63082842/106245704-3faadc80-6250-11eb-93c0-20da739c78c3.png)
15. -
![image](https://user-images.githubusercontent.com/63082842/106246754-f491c900-6251-11eb-8b09-4ef661d833be.png)
- product select .
- . ( )
- . ( )
- . ( )
![image](https://user-images.githubusercontent.com/63082842/106248073-d0cf8280-6253-11eb-9bcc-60baca222f17.png)
-
![image](https://user-images.githubusercontent.com/63082842/106248122-e2188f00-6253-11eb-8e80-7bfa532fc7ed.png)
-
- .
16. -
![image](https://user-images.githubusercontent.com/63082842/106246856-1db25***0-6252-11eb-8366-048185434d0a.png)
- , .
- sticky position .
- , .
17. - Q&A
![image](https://user-images.githubusercontent.com/63082842/106247074-5eaa6e00-6252-11eb-8ec2-b01854ed929c.png)
- .
- Q&A , .
- .
18. , Q&A
![image](https://user-images.githubusercontent.com/63082842/106247234-96191a80-6252-11eb-8669-4172f8b2e32f.png)
19. Q&A
![image](https://user-images.githubusercontent.com/63082842/106247326-b5b04300-6252-11eb-854d-2dd2896be434.png)
- .
20.
![image](https://user-images.githubusercontent.com/63082842/106247390-cf518a80-6252-11eb-8cbd-bf39dfb39a6f.png)
- , .
21. Q&A
![image](https://user-images.githubusercontent.com/63082842/106247484-ef814***0-6252-11eb-9ab0-51f40149e126.png)
- , .
- .
22.
![image](https://user-images.githubusercontent.com/63082842/106247571-1475bc80-6253-11eb-88fc-e1b489a42966.png)
- , summernote .
23. Q&A
![image](https://user-images.githubusercontent.com/63082842/106247618-22c3d880-6253-11eb-8167-57a044ebe851.png)
- , summernote .
24.
![image](https://user-images.githubusercontent.com/63082842/106247784-5ef73900-6253-11eb-960c-184ec9e37fd6.png)
- .
- .
25.
![image](https://user-images.githubusercontent.com/63082842/106247906-8e0daa80-6253-11eb-8e7a-5e9169519fa6.png)
- .
- / .
- .
- .
26.
![image](https://user-images.githubusercontent.com/63082842/106248218-070d0200-6254-11eb-9253-326bde0e397a.png)
- .
- .
- .
27.
![image](https://user-images.githubusercontent.com/63082842/106248490-6703a880-6254-11eb-86c1-a***e***b318a1.png)
28.
![image](https://user-images.githubusercontent.com/63082842/106248535-7aaf0f00-6254-11eb-9f3f-ae***be1b2cdc.png)
- .
29.
![Screenshot_51](https://user-images.githubusercontent.com/63082842/106248587-8b5f8500-6254-11eb-8e8b-4b29017c396a.png)
- , .
30.
![image](https://user-images.githubusercontent.com/63082842/106249080-37a16b80-6255-11eb-8bb0-35f43afb3***b.png)
- / .
近期下载者:
相关文件:
收藏者: