Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RELEASE] v1.3 #40

Merged
merged 43 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
082dee7
header color 구분
LSMJJAng Feb 28, 2024
b3d9bcb
sideBar Active 상태 useState 적용 및 색상 변경
LSMJJAng Feb 28, 2024
0189334
Merge pull request #12 from Team-OYA/feat-OYA-228-헤더색상변경
LSMJJAng Feb 28, 2024
fd771fc
[FEAT] 관리자 웹 수정 (#13)
sangminee Feb 29, 2024
54548c5
대시보드 기초 구조 생성 및 현황 view생성
LSMJJAng Mar 1, 2024
a6c04ff
[FEAT] 로그인 기능 추가 (#14)
sangminee Mar 1, 2024
5c68f3a
[FEAT] 팝업스토어 순위 적용 및 게시글 목록 기초 생성
LSMJJAng Mar 1, 2024
8eeab2e
내 팝업스토어 게시글 목록 생성
LSMJJAng Mar 1, 2024
72a60f7
[FEAT] Statistics Chart 적용
LSMJJAng Mar 2, 2024
811a3c0
Merge branch 'develop' into feat-OYA-231-사업체-대시보드구현
LSMJJAng Mar 2, 2024
81bde53
Merge pull request #15 from Team-OYA/feat-OYA-231-사업체-대시보드구현
LSMJJAng Mar 2, 2024
e2b7404
[FEAT]axios baseApi 세팅
LSMJJAng Mar 2, 2024
cf94488
Merge pull request #16 from Team-OYA/feat-OYA-256-Base-Api
LSMJJAng Mar 2, 2024
a2a8cbe
[FEAT] user, admin Base Api 분리
LSMJJAng Mar 2, 2024
fbd3aef
authApi 실제서버 기반 URL로 변경
LSMJJAng Mar 2, 2024
a63b60f
[FEAT] 디테일 변경 (#17)
sangminee Mar 2, 2024
0861580
Merge branch 'develop' of https://github.com/Team-OYA/web-business in…
LSMJJAng Mar 2, 2024
5b54344
[FEAT]BaseApi class명 수정 및 통계 수정 및 데이터 적용
LSMJJAng Mar 2, 2024
547cceb
[FEAT] 대시보드 통신 구현
LSMJJAng Mar 2, 2024
82afc7f
Merge pull request #18 from Team-OYA/feat-OYA-255-대시보드-통신구현
LSMJJAng Mar 2, 2024
291b949
[FEAT] 토스페이 결제 기능 구현 (#19)
kyukong Mar 3, 2024
4201cb8
[REFACTOR] 사업계획서 제안 및 광고 신청 시 이미지 업로드 기능 구현 (#20)
kyukong Mar 3, 2024
e56b117
[REFACTOR] 내비바 페이지 연결 및 디자인 일부 수정 (#21)
kyukong Mar 3, 2024
9eeef41
[FEATURE] 채팅 기능 (#22)
sangminee Mar 3, 2024
6eb2ee7
[FEATURE] not defined 해결 (#24)
sangminee Mar 3, 2024
2ef6e47
[REFACTOR] 각종 에러 수정
LSMJJAng Mar 4, 2024
cf3ed05
Merge pull request #26 from Team-OYA/feat-OYA-255-대시보드-통신구현
LSMJJAng Mar 4, 2024
649adbf
Merge branch 'main' into develop
LSMJJAng Mar 4, 2024
b595eac
Merge branch 'main' into develop
kyukong Mar 4, 2024
07e2a77
[REFACTOR] 결제 수단 버튼 추가 및 디자인 세부 수정 (#28)
kyukong Mar 4, 2024
ddd54b9
[REFACTOR] Home 이미지 bg 추가
LSMJJAng Mar 4, 2024
217c520
[Refactor] 펭지ㅣ 이동 버튼 수정
LSMJJAng Mar 5, 2024
b2f548c
Merge pull request #29 from Team-OYA/feat-OYA-234-메인페이지생성
LSMJJAng Mar 5, 2024
011bbff
[Refactor] 로그인view수정, 표시 favicon 변경
LSMJJAng Mar 5, 2024
93d5f32
Merge pull request #31 from Team-OYA/feat-OYA-234-메인페이지생성
LSMJJAng Mar 5, 2024
b912dab
Merge branch 'main' into develop
LSMJJAng Mar 5, 2024
673cf8e
[FEAUTRE] 문의하기 수정 (#33)
sangminee Mar 5, 2024
7289806
Merge branch 'main' into develop
kyukong Mar 6, 2024
0e2aea7
[FIX] 광고 팝업스토어 게시글 조회 시 잘못된 아이디 매핑 수정 (#35)
kyukong Mar 6, 2024
986b999
[FEATURE] 채팅 UI 수정 (#36)
sangminee Mar 7, 2024
5dc4024
[FEAT] 채팅리스트 조회 ui 변경 (#37)
sangminee Mar 7, 2024
a68ed10
Merge branch 'main' into develop
kyukong Mar 10, 2024
f057634
[REFACTOR] 환경변수값 설정 (#39)
kyukong Mar 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/web-business-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20.9.0'


- name: env setting
run: |
echo "${{ secrets.REACT_ENV_DEVELOPMENT }}" > .

- name: Docker build and push
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/thepopbusinessweb .
Expand Down
2 changes: 1 addition & 1 deletion src/api/adminBaseApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import GetTokenFromLocalStorage from "./Common/token";
*/

const adminInstance = axios.create({
baseURL: "http://15.164.236.13:8080/api/v1",
baseURL: `${process.env.REACT_APP_BASE_URL}${process.env.REACT_APP_API_PREFIX}`,
});

adminInstance.interceptors.request.use(
Expand Down
2 changes: 1 addition & 1 deletion src/api/userBaseApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import GetTokenFromLocalStorage from "./Common/token";


const userInstance = axios.create({
baseURL: "http://15.164.236.13:8080/api/v1",
baseURL: `${process.env.REACT_APP_BASE_URL}${process.env.REACT_APP_API_PREFIX}`,
});

userInstance.interceptors.request.use(
Expand Down
3 changes: 2 additions & 1 deletion src/components/administrator/ChatRoomDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const ChatRoomDetail = ({selectedChatRoomId, setModalIsOpen}) => {
* @author 이상민
*/
useEffect(() => {
const socket = new SockJS(`http://15.164.236.13:8080/ws`);
const baseUrl = `${process.env.REACT_APP_BASE_URL}${process.env.REACT_APP_CHAT_API_PREFIX}`;
const socket = new SockJS(baseUrl);
const stomp = Stomp.over(socket);
setStompClient(stomp);
// 고유한 ID 생성
Expand Down
3 changes: 2 additions & 1 deletion src/components/business/Chat/ChatRoom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const ChatRoom= ({selectedChatRoom, setSelectedChatRoom}) => {
* @author 이상민
*/
useEffect(() => {
const socket = new SockJS(`http://15.164.236.13:8080/ws`);
const baseUrl = `${process.env.REACT_APP_BASE_URL}${process.env.REACT_APP_CHAT_API_PREFIX}`
const socket = new SockJS(baseUrl);
const stomp = Stomp.over(socket);
setStompClient(stomp);
// 고유한 ID 생성
Expand Down
5 changes: 3 additions & 2 deletions src/components/business/TossPayModal/TossPayModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,16 @@ function TossPayModal({postId, postType, price, file}) {
onClick={async () => {
try {
const orderId = nanoid()
const baseUrl = `${process.env.REACT_APP_BASE_URL}${process.env.REACT_APP_API_PREFIX}`
await confirmTossPay(orderId)
await paymentWidget?.requestPayment({
orderId: orderId,
orderName: "토스 티셔츠 외 2건",
customerName: "김토스",
customerEmail: "customer123@gmail.com",
customerMobilePhone: "01012341234",
successUrl: `${process.env.REACT_APP_BASE_URL}/payments/toss/success`,
failUrl: `${process.env.REACT_APP_BASE_URL}/payments/toss/fail`
successUrl: `${baseUrl}/payments/toss/success`,
failUrl: `${baseUrl}/payments/toss/fail`
})
} catch (error) {
// todo: 에러 모달창 추가 (예. 필수 항목 동의 체크)
Expand Down
8 changes: 4 additions & 4 deletions src/setupProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ const { createProxyMiddleware } = require("http-proxy-middleware");
module.exports = function (app) {
// API Proxy
app.use(
"/api/v1",
`${process.env.REACT_APP_API_PREFIX}`,
createProxyMiddleware({
target: "http://15.164.236.13:8080",
target: `${process.env.REACT_APP_BASE_URL}`,
changeOrigin: true,
})
);

app.use(
"/ws",
`${process.env.REACT_APP_CHAT_API_PREFIX}`,
createProxyMiddleware({
target: "http://15.164.236.13:8080",
target: `${process.env.REACT_APP_BASE_URL}`,
ws: true,
})
);
Expand Down