PPT(pdf) link : https://github.com/jsy4/SlowCoffee/blob/main/3%EC%A1%B0_Slow%20Coffee_Website.pdf
OS : Windows
Language : Java, Javascript, CSS, HTML, etc.
Framework : Spring, Mybatis
Server : Apache Tomcat 9.0 with JSP
Database : Oracle
(API) : kakao 주소 & pay, toss pay
Citations: https://github.com/technext/fruitkha original html template
Benchmarked Sites: apple.com, colorhunt for color palette, Momo's Coffee for product image and description
Full description of project is in the pdf file(power point)
full distribution on Eclipse 4.17, Windows version :: link: https://github.com/spring-attic/toolsuite-distribution/wiki/Spring-Tool-Suite-3#spring-tool-suite-3914-new-and-noteworthy
Oracle Database 11gR2 Express Edition for Windows x64 :: link: https://www.oracle.com/database/technologies/xe-prior-release-downloads.html
Windows 64-bit with JDK 11 included :: link: https://www.oracle.com/database/sqldeveloper/technologies/download/
32-bit/64-bit Windows Service Installer :: link: https://tomcat.apache.org/download-90.cgi
< 3joe.sql>, < sj > :: link: https://github.com/jsy4/SlowCoffee
1.1 command prompt
At the command prompt: sqlplus
Enter user-name: <system> / Enter password: <admin>
CREATE USER sam IDENTIFIED BY tiger;
GRANT connect, resource TO sam;
1.2 Open sql Developer: click folder sqldeveloper > sqldeveloper.exe
1.3 Make a connection using sam, tiger (green + button on top left)
1.4 Run the file < 3joe.sql >(github) (individual run is ctrl + enter)
2.1 Open sts-bundle: click foler sts-3.9.14 > STS.exe
2.1.1 Window > Preferences > type (enc) > change all settings to UTF-8 to see comments in Korean
2.2 move (sj) folder to workspace folder > new project named sj > automatical import (sj)
2.3 build path: right click (sj) > Build Path > Configure Build Path > Library > add External jars >
add sj/src/main/webapp/WEB-INF/lib/activation.jar;
add sj/src/main/webapp/WEB-INF/lib/mail.jar;
add sj/src/main/webapp/WEB-INF/lib/ojdbc6.jar;
add sj/lombok/lombok.jar
If lombok does not work(getterSette error): create getters and setters for sj/src/main/java/com.javassem.domain VOs
: right click > Source > Generate Getters and Setters for all VO
2.4 create Server: click Window > Show View > Other > Servers > right click > New Server >
Apache > Tomcat v8.0 > select where Tomcat is installed > Finish
2.5 open with chrome: Window > browser > Chrome
1. sj > src > main > webapp > WEB-INF > spring > root-context.xml change ip address @192.168.0.77:1521:xe to @(your local ip address):1521/xe
2. sj > src/main/java > com.javassem.controller > UserController.java
line 72:: deleteProduct: change PATH to where the images are stored
line 305:: logCustomer: change PATH where fileLog.txt will be created and written
line 311:: logCustomer: change PATH where fileLog.txt will be created and written
line 656:: mail: change sending MAIL address (gmail doesn't work with normal settings)
line 657:: mail: change MAIL password
spring (src) > main > webapp > start.jsp > ( ctrl + alt + F11 ) > run tomcat server >> click '관리자 모드' (manager mode) > goto Goods || Beans > add product
Product image at: (src) > main > webapp > resources > assets > img
Error could occur saying step <=0 --> in that case, in views/index.jsp, change (step to step +1) or add the products before running index
spring (src) > main > webapp > start.jsp > ( ctrl + alt + F11 )
'관리자 모드' (manager mode) : add product, modify product, delete product, see total revenue, respond to contact questions, see customer orders and delete according to the contact query, search products
'방문자용 메인화면' (customer mode): see products, add products to bag, saved bag contents during logout, change bag contents during checkout, checkout api available in different modes(card, kakao pay, toss), contact with questions, individual mypage to see orders and contact questions, search products
check ::아래 것들 확인하기
1. FileName: Downloaded file will be SlowCoffee-main.zip --> unzip to folder named sj
2. Maven: right click project (sj) >Maven > Update Project
3. Server: Window > Show view > Other > Servers > Tomcat v9.0 > right click > Clean
5. Spring: right click project (sj) > Spring > Remove Spring Project Nature; right click project (sj) > Spring > add Spring Project Nature
6. DB: Error could occur saying step <=0 --> in that case, in views/index.jsp, change (step to step +1) or add the products before running index
7.DB: Check root-context.xml ip address to be your local ip address
8.VO: if lombok @Data doesn't work create getters and setters for each VO
방문자용 메인화면
Index :: 메인 페이지
Contact page :: 문의 페이지
Buying Products :: 상품 구매
Paying page :: 결제 페이지
관리자 모드
Manager Index :: 메니저 메인 페이지
Looking At Sales :: 총 매출 보기
Looking At products / Adding products :: 상품 재고 보기 / 상품 추가
Adding products :: 상품 더하기