Skip to content

Commit

Permalink
๐Ÿ”ง chore: mock ๋ฐ์ดํ„ฐ ignore ํ•ด์ฒด
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Aug 17, 2024
1 parent 6fcc696 commit acc3101
Show file tree
Hide file tree
Showing 5 changed files with 239 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@ next-env.d.ts
storybook-static

.env.local
.env.test


src/mocks/data
.env.test
32 changes: 32 additions & 0 deletions src/mocks/data/festivalMocks/HotFestival.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"statusCode": 200,
"status": "OK",
"message": "์Šคํฌ๋žฉ ๋‹ค๊ฑด ์กฐํšŒ ์„ฑ๊ณต",
"data": {
"content": [
{
"festivalId": 1,
"name": "ํ•œ๊ฐ• ํŽ˜์Šคํ‹ฐ๋ฒŒ",
"sido": "์„œ์šธ",
"sigungu": "๊ด‘์ง„๊ตฌ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-10-04",
"endDate": "2024-10-10"
},
{
"festivalId": 2,
"name": "์‰ฌ์–ด๊ฐ•์„œ",
"sido": "์„œ์šธ",
"sigungu": "๊ด‘์„œ๊ตฌ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-10-04",
"endDate": "2024-10-10"
}
],
"offset": 0,
"pageNumber": 0,
"pageSize": 6,
"totalElements": 2,
"totalPages": 1
}
}
69 changes: 69 additions & 0 deletions src/mocks/data/festivalMocks/HotFestival_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"statusCode": 200,
"status": "OK",
"message": "์Šคํฌ๋žฉ ๋‹ค๊ฑด ์กฐํšŒ ์„ฑ๊ณต",
"data": {
"content" : [
{
"festivalId" : 1,
"name" : "ํ•œ๊ฐ• ํŽ˜์Šคํ‹ฐ๋ฒŒ",
"sido" : "์„œ์šธ",
"sigungu" : "๊ด‘์ง„๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-10-04",
"endDate" : "2024-10-10"
},
{
"festivalId" : 2,
"name" : "์‰ฌ์–ด๊ฐ•์„œ",
"sido" : "์„œ์šธ",
"sigungu" : "๊ด‘์„œ๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-10-04",
"endDate" : "2024-10-10"
},
{
"festivalId" : 3,
"name" : "๋ถ€์‚ฐ ๊ตญ์ œ ์˜ํ™”์ œ",
"sido" : "๋ถ€์‚ฐ",
"sigungu" : "ํ•ด์šด๋Œ€๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-11-01",
"endDate" : "2024-11-07"
},
{
"festivalId" : 4,
"name" : "์ „์ฃผ ํ•œ์˜ฅ๋งˆ์„ ์ถ•์ œ",
"sido" : "์ „๋ถ",
"sigungu" : "์ „์ฃผ์‹œ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-09-15",
"endDate" : "2024-09-20"
},
{
"festivalId" : 5,
"name" : "์†์ดˆ ๊ตญ์ œ ๋ถˆ๊ฝƒ ์ถ•์ œ",
"sido" : "๊ฐ•์›",
"sigungu" : "์†์ดˆ์‹œ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-12-24",
"endDate" : "2024-12-26"
},
{
"festivalId" : 6,
"name" : "์ œ์ฃผ ๊ฐ๊ทค ์ถ•์ œ",
"sido" : "์ œ์ฃผ",
"sigungu" : "์ œ์ฃผ์‹œ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-11-15",
"endDate" : "2024-11-20"
}
],
"offset": 12,
"pageNumber": 0,
"pageSize": 6,
"totalElements": 43,
"totalPages": 8
}
}

69 changes: 69 additions & 0 deletions src/mocks/data/festivalMocks/HotFestival_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"statusCode": 200,
"status": "OK",
"message": "์Šคํฌ๋žฉ ๋‹ค๊ฑด ์กฐํšŒ ์„ฑ๊ณต",
"data": {
"content" : [
{
"festivalId" : 7,
"name" : "๊ด‘์ฃผ ๋น„์—”๋‚ ๋ ˆ",
"sido" : "๊ด‘์ฃผ",
"sigungu" : "์„œ๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-08-20",
"endDate" : "2024-08-25"
},
{
"festivalId" : 8,
"name" : "์•ˆ๋™ ํƒˆ์ถค ์ถ•์ œ",
"sido" : "๊ฒฝ๋ถ",
"sigungu" : "์•ˆ๋™์‹œ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-09-30",
"endDate" : "2024-10-05"
},
{
"festivalId" : 9,
"name" : "๋Œ€๊ตฌ ์ปฌ๋Ÿฌํ’€ ํŽ˜์Šคํ‹ฐ๋ฒŒ",
"sido" : "๋Œ€๊ตฌ",
"sigungu" : "์ค‘๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-10-15",
"endDate" : "2024-10-20"
},
{
"festivalId" : 10,
"name" : "๋Œ€์ „ ์—‘์Šคํฌ",
"sido" : "๋Œ€์ „",
"sigungu" : "์œ ์„ฑ๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-11-05",
"endDate" : "2024-11-10"
},
{
"festivalId" : 11,
"name" : "ํฌํ•ญ ํ•ด์–‘ ์ถ•์ œ",
"sido" : "๊ฒฝ๋ถ",
"sigungu" : "ํฌํ•ญ์‹œ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-07-15",
"endDate" : "2024-07-20"
},
{
"festivalId" : 12,
"name" : "์šธ์‚ฐ ๊ณ ๋ž˜ ์ถ•์ œ",
"sido" : "์šธ์‚ฐ",
"sigungu" : "๋‚จ๊ตฌ",
"thumbnailImage" : "https://placehold.co/400.png",
"startDate" : "2024-06-01",
"endDate" : "2024-06-05"
}
],
"offset": 12,
"pageNumber": 1,
"pageSize": 6,
"totalElements": 43,
"totalPages": 8
}
}

68 changes: 68 additions & 0 deletions src/mocks/data/festivalMocks/HotFestival_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"statusCode": 200,
"status": "OK",
"message": "์Šคํฌ๋žฉ ๋‹ค๊ฑด ์กฐํšŒ ์„ฑ๊ณต",
"data": {
"content": [
{
"festivalId": 13,
"name": "์ฒญ์ฃผ ๊ตญ์ œ ๊ณต์˜ˆ ๋น„์—”๋‚ ๋ ˆ",
"sido": "์ถฉ๋ถ",
"sigungu": "์ฒญ์ฃผ์‹œ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-09-10",
"endDate": "2024-09-15"
},
{
"festivalId": 14,
"name": "์ธ์ฒœ ํŽœํƒ€ํฌํŠธ ๋ฝ ํŽ˜์Šคํ‹ฐ๋ฒŒ",
"sido": "์ธ์ฒœ",
"sigungu": "์—ฐ์ˆ˜๊ตฌ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-08-02",
"endDate": "2024-08-04"
},
{
"festivalId": 15,
"name": "์ถ˜์ฒœ ๋งˆ์ž„ ์ถ•์ œ",
"sido": "๊ฐ•์›",
"sigungu": "์ถ˜์ฒœ์‹œ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-05-25",
"endDate": "2024-05-29"
},
{
"festivalId": 16,
"name": "์ˆ˜์› ํ™”์„ฑ ๋ฌธํ™”์ œ",
"sido": "๊ฒฝ๊ธฐ",
"sigungu": "์ˆ˜์›์‹œ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-10-12",
"endDate": "2024-10-15"
},
{
"festivalId": 17,
"name": "๊ณ ์–‘ ๊ตญ์ œ ๊ฝƒ๋ฐ•๋žŒํšŒ",
"sido": "๊ฒฝ๊ธฐ",
"sigungu": "๊ณ ์–‘์‹œ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-04-27",
"endDate": "2024-05-03"
},
{
"festivalId": 18,
"name": "๋‚จ์ด์„ฌ ๊ฒจ์šธ ์—ฐ๊ฐ€ ์ถ•์ œ",
"sido": "๊ฐ•์›",
"sigungu": "์ถ˜์ฒœ์‹œ",
"thumbnailImage": "https://placehold.co/400.png",
"startDate": "2024-12-10",
"endDate": "2024-12-15"
}
],
"offset": 12,
"pageNumber": 2,
"pageSize": 6,
"totalElements": 43,
"totalPages": 8
}
}

0 comments on commit acc3101

Please sign in to comment.