Skip to content

๐Ÿง ๐Ÿ’ฌ The web frontend for the HomieDummy community platform where silly mistakes meet real connection

Notifications You must be signed in to change notification settings

hyogshin/homiedummy-client

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

์ปค๋ฎค๋‹ˆํ‹ฐ ํ”„๋กœ์ ํŠธ ํ”„๋ก ํŠธ์—”๋“œ ๐Ÿš€

์ด ์ €์žฅ์†Œ๋Š” ์ปค๋ฎค๋‹ˆํ‹ฐ ํ”„๋กœ์ ํŠธ์˜ ํ”„๋ก ํŠธ์—”๋“œ ์ฝ”๋“œ๋ฒ ์ด์Šค๋กœ, ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค์™€ ์ƒํ˜ธ์ž‘์šฉ์„ ๋‹ด๋‹นํ•ฉ๋‹ˆ๋‹ค. HTML, CSS, JavaScript๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ œ์ž‘๋˜์—ˆ์Šต๋‹ˆ๋‹ค.


์ฃผ์š” ๊ธฐ๋Šฅ โœจ

  • ๐Ÿ”’ ์‚ฌ์šฉ์ž ์ธ์ฆ (๋กœ๊ทธ์ธ, ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์•„์›ƒ)
  • ๐Ÿ“ ๊ฒŒ์‹œ๋ฌผ ์ƒ์„ฑ, ์กฐํšŒ, ์ˆ˜์ •, ์‚ญ์ œ (CRUD)
  • โค๏ธ ๊ฒŒ์‹œ๋ฌผ ์ƒํ˜ธ์ž‘์šฉ (์ข‹์•„์š”, ๋Œ“๊ธ€)
  • ๐Ÿ“ฑ ๋ฐ˜์‘ํ˜• ๋””์ž์ธ (๋ฐ์Šคํฌํ†ฑ ๋ฐ ๋ชจ๋ฐ”์ผ ์ตœ์ ํ™”)
  • ๐Ÿ‘ค ํ”„๋กœํ•„ ๊ด€๋ฆฌ (ํ”„๋กœํ•„ ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ํฌํ•จ)

๊ธฐ์ˆ  ์Šคํƒ ๐Ÿ› ๏ธ

  • HTML5 HTML5: ๋งˆํฌ์—… ๊ตฌ์กฐ
  • CSS3 CSS3: ์Šคํƒ€์ผ๋ง ๋ฐ ๋ฐ˜์‘ํ˜• ๋””์ž์ธ
  • JavaScript ๋ฐ”๋‹๋ผ JavaScript (ES6): ์ƒํ˜ธ์ž‘์šฉ ๋ฐ API ํ†ตํ•ฉ

์„ค์น˜ ๋ฐฉ๋ฒ• ๐Ÿ–ฅ๏ธ

  1. ์ €์žฅ์†Œ๋ฅผ ํด๋ก ํ•ฉ๋‹ˆ๋‹ค:

    git clone https://github.com/100-hours-a-week/2-hayden-shin-community-fe.git
    cd frontend
  2. ํ”„๋กœ์ ํŠธ๋ฅผ ๋กœ์ปฌ์—์„œ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

    npm install
    npm start

    ๊ทธ๋Ÿฐ ๋‹ค์Œ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์•„๋ž˜ ์ฃผ์†Œ๋กœ ์ ‘์†ํ•ฉ๋‹ˆ๋‹ค:

    http://127.0.0.1:2000
    

ํŒŒ์ผ ๊ตฌ์กฐ ๐Ÿ“‚

โ”œโ”€โ”€ assets/
โ”œโ”€โ”€ css/
โ”‚   โ”œโ”€โ”€ signup.css
โ”‚   โ”œโ”€โ”€ post-list.css
โ”‚   โ”œโ”€โ”€ profile-update.css
โ”œโ”€โ”€ js/
โ”‚   โ”œโ”€โ”€ app.js
โ”‚   โ”œโ”€โ”€ post-create.js
โ”‚   โ”œโ”€โ”€ post-view.js
โ”‚   โ”œโ”€โ”€ login.js
โ”‚   โ”œโ”€โ”€ signup.js
โ”‚   โ”œโ”€โ”€ dropdown.js

API ํ†ตํ•ฉ ๐ŸŒ

ํ”„๋ก ํŠธ์—”๋“œ๋Š” RESTful API๋ฅผ ํ†ตํ•ด ๋ฐฑ์—”๋“œ์™€ ํ†ต์‹ ํ•ฉ๋‹ˆ๋‹ค:

  • ์ธ์ฆ(Authentication): /auth/signup, /auth/login, /auth/logout
  • ๊ฒŒ์‹œ๋ฌผ(Posts): /posts, /posts/:post_id
  • ๋Œ“๊ธ€(Comments): /posts/:post_id/comments
  • ํ”„๋กœํ•„(Profile): /auth/profile

๊ธฐ์—ฌ ๋ฐฉ๋ฒ• ๐Ÿค

  1. ์ €์žฅ์†Œ๋ฅผ ํฌํฌํ•ฉ๋‹ˆ๋‹ค.
  2. ์ƒˆ๋กœ์šด ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค:
    git checkout -b feature-name
  3. ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ปค๋ฐ‹ํ•ฉ๋‹ˆ๋‹ค:
    git commit -m "Add feature"
  4. ๋ธŒ๋žœ์น˜๋ฅผ ํ‘ธ์‹œํ•ฉ๋‹ˆ๋‹ค:
    git push origin feature-name
  5. ํ’€ ๋ฆฌํ€˜์ŠคํŠธ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

About

๐Ÿง ๐Ÿ’ฌ The web frontend for the HomieDummy community platform where silly mistakes meet real connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.3%
  • HTML 24.0%
  • CSS 16.6%
  • Dockerfile 0.1%