FC-DEV-FinalProject / FinalProject_2VEN_FE

๋ฐ๋ธŒ์ฝ”์Šค ํŒŒ์ด๋„ํ”„๋กœ์ ํŠธ ์‹œ์Šค๋ฉ”ํ‹ฑ 2์กฐ ์ด๋ธํ•œ์กฐ FE ๋ฆฌํฌ์ง€ํ† ๋ฆฌ
0 stars 1 forks source link

ํ…Œ์ŠคํŠธ #131

Closed seoyoonyi closed 1 week ago

seoyoonyi commented 1 week ago

๐Ÿš€ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์ œ์•ˆ

๐Ÿ“‹ ์ž‘์—… ๋‚ด์šฉ

์ˆ˜์ •ํ•œ ๋‚ด์šฉ์ด๋‚˜ ์ถ”๊ฐ€ํ•œ ๊ธฐ๋Šฅ์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์„ค๋ช…ํ•ด ์ฃผ์„ธ์š”.

๐Ÿ”ง ๋ณ€๊ฒฝ ์‚ฌํ•ญ

์ฃผ์š” ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์š”์•ฝํ•ด ์ฃผ์„ธ์š”.

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท (์„ ํƒ ์‚ฌํ•ญ)

์ˆ˜์ •๋œ ํ™”๋ฉด ๋˜๋Š” ๊ธฐ๋Šฅ์„ ์‹œ์—ฐํ•  ์ˆ˜ ์žˆ๋Š” ์Šคํฌ๋ฆฐ์ƒท์„ ์ฒจ๋ถ€ํ•ด ์ฃผ์„ธ์š”.

๐Ÿ“„ ๊ธฐํƒ€

์ถ”๊ฐ€์ ์œผ๋กœ ์ „๋‹ฌํ•˜๊ณ  ์‹ถ์€ ๋‚ด์šฉ์ด๋‚˜ ํŠน๋ณ„ํ•œ ์š”๊ตฌ ์‚ฌํ•ญ์ด ์žˆ์œผ๋ฉด ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.

Sourcery์— ์˜ํ•œ ์š”์•ฝ

์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ:

Original summary in English ## Summary by Sourcery New Features: - Introduce a new API client using Axios with a configurable base URL.
sourcery-ai[bot] commented 1 week ago

๋ฆฌ๋ทฐ์–ด ๊ฐ€์ด๋“œ by Sourcery

์ด PR์€ Axios๋ฅผ ์‚ฌ์šฉํ•œ ์ƒˆ๋กœ์šด API ํด๋ผ์ด์–ธํŠธ ๊ตฌ์„ฑ์„ ๋„์ž…ํ•ฉ๋‹ˆ๋‹ค. ๊ตฌํ˜„์€ Vite์˜ import.meta.env๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ™˜๊ฒฝ ๋ณ€์ˆ˜์—์„œ ๋กœ๋“œ๋œ ๊ธฐ๋ณธ URL๋กœ ๊ตฌ์„ฑ๋œ ๊ธฐ๋ณธ API ํด๋ผ์ด์–ธํŠธ ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ๊ฐ„๋‹จํ•ด ๋ณด์ด๋ฉฐ ์‹œ๊ฐ์  ํ‘œํ˜„์ด ํ•„์š”ํ•˜์ง€ ์•Š์œผ๋ฏ€๋กœ ๋‹ค์ด์–ด๊ทธ๋žจ์ด ์ƒ์„ฑ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

ํŒŒ์ผ ์ˆ˜์ค€ ๋ณ€๊ฒฝ ์‚ฌํ•ญ

๋ณ€๊ฒฝ ์‚ฌํ•ญ ์„ธ๋ถ€ ์‚ฌํ•ญ ํŒŒ์ผ
Axios API ํด๋ผ์ด์–ธํŠธ ๊ตฌ์„ฑ ์„ค์ •
  • Vite์˜ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ URL์— ๋Œ€ํ•œ ์ƒ์ˆ˜๋ฅผ ์ƒ์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค
  • ๊ตฌ์„ฑ๋œ ๊ธฐ๋ณธ URL๋กœ Axios ์ธ์Šคํ„ด์Šค๋ฅผ ์ดˆ๊ธฐํ™”ํ–ˆ์Šต๋‹ˆ๋‹ค
src/api/apiClient.ts

ํŒ ๋ฐ ๋ช…๋ น์–ด #### Sourcery์™€ ์ƒํ˜ธ์ž‘์šฉํ•˜๊ธฐ - **์ƒˆ๋กœ์šด ๋ฆฌ๋ทฐ ํŠธ๋ฆฌ๊ฑฐ:** ํ’€ ๋ฆฌํ€˜์ŠคํŠธ์— `@sourcery-ai review`๋ผ๊ณ  ๋Œ“๊ธ€์„ ๋‚จ๊น๋‹ˆ๋‹ค. - **ํ† ๋ก  ๊ณ„์†ํ•˜๊ธฐ:** Sourcery์˜ ๋ฆฌ๋ทฐ ๋Œ“๊ธ€์— ์ง์ ‘ ๋‹ต๊ธ€์„ ๋‚จ๊น๋‹ˆ๋‹ค. - **๋ฆฌ๋ทฐ ๋Œ“๊ธ€์—์„œ GitHub ์ด์Šˆ ์ƒ์„ฑ:** ๋ฆฌ๋ทฐ ๋Œ“๊ธ€์—์„œ ์ด์Šˆ๋ฅผ ์ƒ์„ฑํ•˜๋„๋ก Sourcery์— ์š”์ฒญํ•˜๋ ค๋ฉด ๋Œ“๊ธ€์— ๋‹ต๊ธ€์„ ๋‚จ๊น๋‹ˆ๋‹ค. - **ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์ œ๋ชฉ ์ƒ์„ฑ:** ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์ œ๋ชฉ ์–ด๋””์—๋‚˜ `@sourcery-ai`๋ฅผ ์ž‘์„ฑํ•˜์—ฌ ์–ธ์ œ๋“ ์ง€ ์ œ๋ชฉ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. - **ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์š”์•ฝ ์ƒ์„ฑ:** ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ๋ณธ๋ฌธ ์–ด๋””์—๋‚˜ `@sourcery-ai summary`๋ฅผ ์ž‘์„ฑํ•˜์—ฌ ์–ธ์ œ๋“ ์ง€ PR ์š”์•ฝ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ด ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์š”์•ฝ์ด ์‚ฝ์ž…๋  ์œ„์น˜๋ฅผ ์ง€์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. #### ๊ฒฝํ—˜ ๋งž์ถคํ™”ํ•˜๊ธฐ [๋Œ€์‹œ๋ณด๋“œ](https://app.sourcery.ai)์— ์ ‘์†ํ•˜์—ฌ: - Sourcery๊ฐ€ ์ƒ์„ฑํ•œ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์š”์•ฝ, ๋ฆฌ๋ทฐ์–ด ๊ฐ€์ด๋“œ ๋“ฑ๊ณผ ๊ฐ™์€ ๋ฆฌ๋ทฐ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜๊ฑฐ๋‚˜ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. - ๋ฆฌ๋ทฐ ์–ธ์–ด๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. - ์‚ฌ์šฉ์ž ์ •์˜ ๋ฆฌ๋ทฐ ์ง€์นจ์„ ์ถ”๊ฐ€, ์ œ๊ฑฐ ๋˜๋Š” ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค. - ๊ธฐํƒ€ ๋ฆฌ๋ทฐ ์„ค์ •์„ ์กฐ์ •ํ•ฉ๋‹ˆ๋‹ค. #### ๋„์›€ ๋ฐ›๊ธฐ - ์งˆ๋ฌธ์ด๋‚˜ ํ”ผ๋“œ๋ฐฑ์ด ์žˆ๋Š” ๊ฒฝ์šฐ [์ง€์› ํŒ€์— ๋ฌธ์˜](mailto:support@sourcery.ai)ํ•˜์„ธ์š”. - ์ž์„ธํ•œ ๊ฐ€์ด๋“œ์™€ ์ •๋ณด๋ฅผ ๋ณด๋ ค๋ฉด [๋ฌธ์„œ](https://docs.sourcery.ai)๋ฅผ ๋ฐฉ๋ฌธํ•˜์„ธ์š”. - [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) ๋˜๋Š” [GitHub](https://github.com/sourcery-ai)์—์„œ Sourcery ํŒ€์„ ํŒ”๋กœ์šฐํ•˜์—ฌ ์†Œ์‹์„ ๋ฐ›์•„๋ณด์„ธ์š”.
Original review guide in English ## Reviewer's Guide by Sourcery This PR introduces a new API client configuration using Axios. The implementation creates a base API client instance with a configured base URL that is loaded from environment variables using Vite's import.meta.env. _No diagrams generated as the changes look simple and do not need a visual representation._ ### File-Level Changes | Change | Details | Files | | ------ | ------- | ----- | | Set up Axios API client configuration |
  • Created a constant for the base URL using Vite's environment variables
  • Initialized an Axios instance with the configured base URL
| `src/api/apiClient.ts` | ---
Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
netlify[bot] commented 1 week ago

Deploy Preview for sysmetics ready!

Name Link
Latest commit 1966cb58d93f1daa09befd5ca9fc8e61049776a5
Latest deploy log https://app.netlify.com/sites/sysmetics/deploys/673a9d71fea6fd0008a2b120
Deploy Preview https://deploy-preview-131--sysmetics.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.