๐Ÿ”ฅ 10๋ถ„ ์ด๋‚ด์— React Js โš›๏ธ ๋ฐ Github Issues๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฐœ์ธ ๋ธ”๋กœ๊ทธ ๐Ÿ“œ๋ฅผ ๋งŒ๋“œ์„ธ์š” ๐Ÿ•

6865 ๋‹จ์–ด reactjavascriptbeginnersopensource
์ด ๊ฒŒ์‹œ๋ฌผ์€ ๋‚ด ์นœ๊ตฌ์˜ ์ž‘ํ’ˆ์„ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค

๋ฆฌ์•กํŠธ ๋ธ”๋กœ๊ทธ



React + Github ๋ฌธ์ œ ๐Ÿ‘‰ ๊ฐœ์ธ ๋ธ”๋กœ๊ทธ ๐Ÿ”ฅ



React Blog๋Š” Github Issues๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ž์‹ ์˜ ๊ฐœ์ธ ๋ธ”๋กœ๊ทธ๋ฅผ ๋งŒ๋“œ๋Š” ๋ฐ ๋„์›€์ด ๋˜๋Š” React๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๋Š” ๊ฐœ์ธ ๋ธ”๋กœ๊ทธ ์‹œ์Šคํ…œ์ž…๋‹ˆ๋‹ค.




๋งํฌ : https://github.com/saadpasta/react-blog-github

๐Ÿ”ฅ ๊ธฐ๋Šฅ



โœ… ์ฝ˜ํ…์ธ  ์†Œ์œ 
โœ… Github ๋ฌธ์ œ์— Markdown์„ ์‚ฌ์šฉํ•˜์—ฌ ์ž‘์„ฑ
โœ… ๊ตฌ๋ฌธ/์ฝ”๋“œ ๊ฐ•์กฐ
โœ… ์™„์ „ํžˆ ์‚ฌ์šฉ์ž ์ •์˜ ๊ฐ€๋Šฅ
โœ… ํƒœ๊ทธ - ์ฃผ์ œ
โœ… ๋งํฌ
โœ… ๋ฐ˜์‘
โœ… ์ด๋ฏธ์ง€
โœ… ์ฝ๊ธฐ ์‹œ๊ฐ„
โœ… ๋ฏธ๋””์—„๊ณผ ๊ฐ™์€ ์•„๋ฆ„๋‹ค์šด UI
โœ… ์‰ฌ์šด ๋ฐฐํฌ: Github ํŽ˜์ด์ง€ ์‚ฌ์šฉ
โœ… ์•„๋ฆ„๋‹ค์šด ์ธ์šฉ๊ตฌ

๐Ÿ”— ๋ผ์ด๋ธŒ ๋ฐ๋ชจ



์—ฌ๊ธฐ๋Š” live demo

๊นƒํ—ˆ๋ธŒIssues / Blogs

๐Ÿš€ 10๋ถ„ ์•ˆ์— ์‹œ์ž‘ ๋ฐ ์‹คํ–‰



๋‹ค์Œ 5๋‹จ๊ณ„๋ฅผ ํ†ตํ•ด 10๋ถ„ ์•ˆ์— ๋กœ์ปฌ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์—์„œ ๋ฐ˜์‘ ๋ธ”๋กœ๊ทธ ์‚ฌ์ดํŠธ๋ฅผ ์‹œ์ž‘ํ•˜๊ณ  ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ์ง€์นจ์€ ๊ฐœ๋ฐœ ๋ฐ ํ…Œ์ŠคํŠธ ๋ชฉ์ ์œผ๋กœ ๋กœ์ปฌ ์ปดํ“จํ„ฐ์—์„œ ์‹คํ–‰ ์ค‘์ธ ํ”„๋กœ์ ํŠธ ๋ณต์‚ฌ๋ณธ์„ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ปดํ“จํ„ฐ์— Git ๋ฐ Node.js(npm๊ณผ ํ•จ๊ป˜ ์ œ๊ณต๋จ)์ด ์„ค์น˜๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

[email protected] or higher
[email protected] or higher
[email protected] or higher



1. ๋ช…๋ น์ค„์—์„œ react-blog-github๋ฅผ ๋ณต์ œํ•˜๊ณ  ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.




# Clone this repository
$ git clone https://github.com/saadpasta/react-blog-github.git

# Go into the repository
$ cd react-blog-github

# Install dependencies
$ npm install



2. Github ๊ฐœ์ธ ์•ก์„ธ์Šค ํ† ํฐ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.



๋‹ค์Œ์„ ์‚ฌ์šฉํ•˜์—ฌ Github ๊ฐœ์ธ ์•ก์„ธ์Šค ํ† ํฐ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹คInstructionsMake sure you don't select any scope just generate a simple token without any scope.

๊ทธ๋Ÿฐ ๋‹ค์Œ ์ƒ์„ฑ๋œ ํ† ํฐ์„ ๋ณต์‚ฌํ•œ ๋‹ค์Œ ์ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ† ํฐ์„ ๊ธฐ๋ณธ 64๋กœ ์ธ์ฝ”๋”ฉํ•ฉ๋‹ˆ๋‹คWebsite.
Copy your base64 converted token

3. /src/config.js ๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.



๋ณต์ œ๋œ ์ €์žฅ์†Œ๋กœ ์ด๋™ํ•˜์—ฌ /src/config.js์—์„œ ๋‹ค์Œ์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

export const config = {

  // Your Github Converted Token
  githubConvertedToken: "Github Converted Token",

  //   Your Github User Name
  githubUserName: "saadpasta",

  //   Your Github Repo Name Where You Have your issues as Blog

  githubRepo: "react-blog-github",

  // Your Personal Blog Title 

  title : "Saad Pasta" , 

  // Your Personal Blog Subtitle 

  subtitle : "Front End Developer Blog"

};



4. ๋ธ”๋กœ๊ทธ๋ฅผ ์ž‘์„ฑํ•˜์‹ญ์‹œ์˜ค.



์ด์ œ ๋‹ค์Œ ๋ณ€๊ฒฝ์„ ์ˆ˜ํ–‰ํ•œ ํ›„์—๋Š” config.js์—์„œ ์–ธ๊ธ‰ํ•œ ์ €์žฅ์†Œ ๋ฌธ์ œ์— ๋Œ€ํ•œ ๋ธ”๋กœ๊ทธ๋ฅผ ์ž‘์„ฑํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
  • ์ €์žฅ์†Œ๋ฅผ ์—ฝ๋‹ˆ๋‹คgithub issues.
  • ์ƒˆ ๋ฌธ์ œ ๋งŒ๋“ค๊ธฐ
  • ์ด์ œ markdown์˜ github ๋ฌธ์ œ์— ๋ธ”๋กœ๊ทธ๋ฅผ ์ž‘์„ฑํ•˜์‹ญ์‹œ์˜ค. slack edit์„ ์‚ฌ์šฉํ•˜์—ฌ ๋งˆํฌ๋‹ค์šด
  • ์„ ์ž‘์„ฑํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
  • github ์ด์Šˆ์— ๋ ˆ์ด๋ธ”blog์„ ์ถ”๊ฐ€ํ•˜์—ฌ ๋‹ค๋ฅธ ํ‘œ์ค€ ์ด์Šˆ์™€ ๋‹ค๋ฅด๊ฒŒ ๋งŒ๋“œ์„ธ์š”. blog ๋ ˆ์ด๋ธ”์€ ํ•„์ˆ˜ ํ•ญ๋ชฉ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด ์›น์‚ฌ์ดํŠธ์— ํ‘œ์‹œ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • 5. React ์•ฑ์„ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.



    ์ด์ œ ๋ช…๋ น์ค„์—์„œ ๋ฐ˜์‘ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์‹œ์ž‘ํ•˜๊ธฐ๋งŒ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

    # Run
    $ npm start
    
    



    ๐Ÿ› ๏ธ ์‚ฌ์šฉ๋œ ๊ธฐ์ˆ 



    ์ด ํ”„๋กœ์ ํŠธ๋Š” ๋‹ค์Œ ํ”„๋กœ์ ํŠธ์˜ ํ›Œ๋ฅญํ•จ ๋•๋ถ„์— ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
  • React

  • graphql

  • apollo-boost
  • GitHub
  • markdown-to-jsx
  • React Syntax Highlighter
  • react-reactions

  • ๐ŸŒฑ ์˜๊ฐ



    ์ด ํ”„๋กœ์ ํŠธ๋Š” ๋‹ค๋ฅธ ๋งŽ์€ ์œ ์‚ฌํ•œ ํ”„๋กœ์ ํŠธ์—์„œ ์˜๊ฐ์„ ๋ฐ›์•˜์Šต๋‹ˆ๋‹ค.
  • gatsby-theme-blog-with-github
  • utterances

  • ๐Ÿค ๊ธฐ์—ฌ



    ์ด๊ฒƒ์„ ๋” ๋ฉ‹์ง€๊ฒŒ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์•„์ด๋””์–ด๊ฐ€ ์žˆ์Šต๋‹ˆ๊นŒ? Open a new issue ! ์šฐ๋ฆฌ๋Š” ์ด ํ”„๋กœ์ ํŠธ๋ฅผ ๋ฉ‹์ง€๊ฒŒ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด ์–ป์„ ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ๋„์›€์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค!

    ๐Ÿ’ฅ ํ• ์ผ


  • Github์—์„œ ๋Œ“๊ธ€ ์ถ”๊ฐ€
  • ๋กœ๋” ์ถ”๊ฐ€
  • Github๋ฅผ ์‚ฌ์šฉํ•œ ์ธ์ฆ
  • React ํ—ฌ๋ฉง์„ ์‚ฌ์šฉํ•˜๋Š” Seo
  • ๋ฐ”๋‹ฅ๊ธ€
  • ํ—ค๋”
  • ์†Œ์…œ ๋ฏธ๋””์–ด ๊ณต์œ 

  • ๐Ÿ“„ ๋ผ์ด์„ ์Šค



    ์ด ํ”„๋กœ์ ํŠธ๋Š” MIT ๋ผ์ด์„ ์Šค์— ๋”ฐ๋ผ ๋ผ์ด์„ ์Šค๊ฐ€ ๋ถ€์—ฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ LICENSE.md ํŒŒ์ผ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

    โญ ๋˜ํ•œ GitHub์—์„œ ๋‚ด ์ €์žฅ์†Œ์— ๋ณ„ํ‘œ๋ฅผ ํ‘œ์‹œํ•˜์—ฌ ๋” ๋งŽ์€ ์˜คํ”ˆ ์†Œ์Šค ์ž‘์—…์„ ํ•˜๋„๋ก ๋™๊ธฐ๋ฅผ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค...



    ๐Ÿ‘ ์ฝ์–ด์ฃผ์…”์„œ ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค...

    ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ