Skip to content

๐Ÿ† KUIT 3๊ธฐ ๋ฐ๋ชจ๋ฐ์ด ์ตœ์šฐ์ˆ˜์ƒ ๐Ÿ† ๋‹จ ํ•˜๋‚˜์˜ ๋™์•„๋ฆฌ/ํŒ€ํ”„๋กœ์ ํŠธ ์ปค๋ฎค๋‹ˆํ‹ฐ

License

Notifications You must be signed in to change notification settings

KUIT-Space/KUIT-Space-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React + TypeScript + Vite with swc

  • npm run dev ์ดํ›„ localhost:~ ์ฃผ์†Œ ์ ‘์†

  • ๋ญ”๊ฐ€ ์ด์ƒํ•˜๋ฉด npm install ํ–ˆ๋Š”์ง€ ํ™•์ธํ•˜๊ธฐ

eslint, prettier, github issue/PR template ์ ์šฉ ์™„๋ฃŒ

<๊ธฐ๋ณธ ๋ธŒ๋žœ์น˜ ์ „๋žต>

๊ฐ์ž ๊ธฐ๋Šฅ ๊ตฌํ˜„ ์‹œ,

  1. ์–ด๋–ค ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•ด์•ผ ํ•˜๋Š”์ง€ ์„ค๋ช…ํ•˜๋Š” issue ์ƒ์„ฑํ•˜๊ธฐ
  2. ํ•ด๋‹นํ•˜๋Š” issue ๋ฒˆํ˜ธ์— ๋งž๋Š” branch ์ƒ์„ฑํ•˜๊ธฐ
    ex) feat#12-signup
  3. ํ•ด๋‹น ๋ธŒ๋žœ์น˜์—์„œ ์ž‘์—… ํ›„, ๊ฒฐ๊ณผ๋ฌผ main branch์— pr ๋‚ ๋ฆฌ๊ธฐ
  4. 1์ธ ์ด์ƒ approve review ํ›„ merge
  5. review ์™„๋ฃŒ๋˜์—ˆ๊ณ  ๋ฌธ์ œ ์—†์œผ๋ฉด issue close

<์ถ”๊ฐ€ ์‚ฌํ•ญ>

  • PR review๋Š” ๋‘ ๋ช… ์ด์ƒ approve review ๋ฐ›๊ณ , PR ์˜ฌ๋ฆฐ ์‚ฌ๋žŒ์ด merge ํ•˜๊ธฐ
  • 360px ๊ธฐ์ค€์œผ๋กœ ๊ฐœ๋ฐœํ•˜๋˜, ๋ฐ˜์‘ํ˜•์„ ์œ„ํ•ด width ๋“ฑ์€ %๋ฅผ ์ตœ๋Œ€ํ•œ ์‚ฌ์šฉํ•˜๊ณ , ๋‚˜๋จธ์ง€ px๋“ค(padding, margin, font)์€ rem ๋‹จ์œ„๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ!!
  • color ๋Š” ๋ณ€์ˆ˜ํ™”๋ฅผ ์œ„ํ•ด hex color๋งŒ ๋„ฃ์ง€ ๋ง๊ณ , ์ตœ์†Œํ•œ background: var(--Foundation-Gray-gray900_background, #171719); ์ด๋Ÿฐ ๋ฐฉ์‹์œผ๋กœ ๋„ฃ๊ธฐ
    • ์‹œ๊ฐ„ ๋‚˜๋ฉด ๋‹คํฌ๋ชจ๋“œ, ์ถ”๊ฐ€ color style ๋Œ€์‘์„ ์œ„ํ•œ styled-compoent์˜ {theme} => theme.color... ๋ฐฉ์‹ ์‚ฌ์šฉํ•˜๊ธฐ

๊ธฐ๋ณธ ํด๋” ๊ตฌ์กฐ (src/)

  • assets : ์ด๋ฏธ์ง€ ํŒŒ์ผ๋“ค์ด ๋“ค์–ด๊ฐ€๋Š” ๊ณณ์ž…๋‹ˆ๋‹ค. ํŠน์ • ํŽ˜์ด์ง€/์ปดํฌ๋„ŒํŠธ์—์„œ๋งŒ ์“ฐ์ด๋Š” ๊ฒƒ์€ ํด๋”๋กœ ๋ฌถ์–ด์ฃผ์„ธ์š”.
  • components : ์—ฌ๋Ÿฌ ํŽ˜์ด์ง€์— ๊ณตํ†ต์œผ๋กœ ์“ฐ์ด๋Š” ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๋“ค์–ด๊ฐ€๋Š” ๊ณณ์ž…๋‹ˆ๋‹ค.
    • figma > assets ์— ์ •๋ฆฌ๋œ ์ปดํฌ๋„ŒํŠธ, figma > 2์ฐจ ์™€ํ”„_์ž‘์—…์ค‘ ํŽ˜์ด์ง€์— ์ •๋ฆฌ๋œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.
  • pages : ๊ฐ๊ฐ์˜ ํŽ˜์ด์ง€๋ฅผ ๊ตฌ๋ถ„ํ•˜๋Š” ๊ณณ์ž…๋‹ˆ๋‹ค. ํฐ ๊ธฐ๋Šฅ์œผ๋กœ ๋จผ์ € ๊ตฌ๋ถ„ํ•˜๊ณ , ์ƒ์„ธ ํŽ˜์ด์ง€๋Š” ํ•˜์œ„ ํด๋”๋กœ ๊ตฌ๋ถ„ํ•ด ์ฃผ์„ธ์š”.
  • utils : ์ค‘๋ณต๋˜๋Š” ๋กœ์ง(์ผ๋ฐ˜ JavaScript ํ•จ์ˆ˜)์„ ๊ณตํ†ต์œผ๋กœ ์ •์˜ํ•ด์„œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • apis : fetch ๋“ฑ ์„œ๋ฒ„์™€ ์ •๋ณด๋ฅผ ์ฃผ๊ณ ๋ฐ›๋Š” ์ค‘๋ณต ๋กœ์ง์„ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
  • hooks : ์ค‘๋ณต๋˜๋Š” ๋กœ์ง(React JSX์—์„œ ์“ฐ์ด๋Š” ๋กœ์ง - ์ƒํƒœ ๊ด€๋ฆฌ, ๋ผ์ดํ”„์‚ฌ์ดํด ๊ด€๋ จ)์„ ์ปค์Šคํ…€ user hook์œผ๋กœ ๋งŒ๋“ญ๋‹ˆ๋‹ค.

<์ถ”ํ›„ ํ•„์š”ํ•˜๋ฉด ์ถ”๊ฐ€>

  • styles : css, button ๋“ฑ ๊ณตํ†ต ๋””์ž์ธ์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.
  • context/store : ์ „์—ญ ์ƒํƒœ ๊ด€๋ฆฌ๊ฐ€ ํ•„์š”ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

Routing

  • App.tsx์— router๋„ ํ•จ๊ป˜ ์ •์˜๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • children : [] ์•ˆ์— ์›ํ•˜๋Š” ๊ฒฝ๋กœ์™€ ๋ณด์—ฌ์ค„ component๋ฅผ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.

About

๐Ÿ† KUIT 3๊ธฐ ๋ฐ๋ชจ๋ฐ์ด ์ตœ์šฐ์ˆ˜์ƒ ๐Ÿ† ๋‹จ ํ•˜๋‚˜์˜ ๋™์•„๋ฆฌ/ํŒ€ํ”„๋กœ์ ํŠธ ์ปค๋ฎค๋‹ˆํ‹ฐ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages