Skip to content

tnqkr3494/ecodev-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

๋‚˜๋งŒ์˜ ๋ธ”๋กœ๊ทธ

MIT License Repository Size Issue Closed

alt text

Preview Report bug Request feature

Table of Contents

[1] About the Project

NextJS14๋ฒ„์ „์„ ํ•™์Šตํ•˜๋ฉด์„œ ๋ฐฐ์šด ๋‚ด์šฉ์„ ์ง์ ‘์ ์œผ๋กœ ์‚ฌ์šฉํ•ด๋ณด๊ณ  ์‹ถ์€๋งˆ์Œ์— ๋ฌด์ž‘์ • ๋ธ”๋กœ๊ทธ๋ฅผ ์ œ์ž‘ํ•˜๊ฒŒ ๋˜์—ˆ๋‹ค. ๊ธฐ์กด์— velog, ํ‹ฐ์Šคํ† ๋ฆฌ์™€ ๊ฐ™์€ ํ”Œ๋žซํผ์€ ๋‚ด๋งˆ์Œ๋Œ€๋กœ ์ปค์Šคํ…€ํ•˜๊ธฐ ์‰ฝ์ง€ ์•Š๊ณ , ๋˜ํ•œ ํ‰์†Œ์— notion์— ๋‚ด๊ฐ€ ๋ฐฐ์› ๋˜ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•˜๊ณ  ์žˆ์–ด์„œ ์ด๋ฅผ ์ž๋™ํ™”ํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ๋„ฃ๊ธฐ ์œ„ํ•ด ํ”„๋กœ์ ํŠธ๋ฅผ ๊ธฐํšํ–ˆ๋‹ค.

Features

  1. react-notion-x๋ฅผ ์ด์šฉํ•œ DB๋กœ ๋ฐฑ์—”๋“œ์ฝ”๋“œ๊ฐ€ ํ•„์š”์—†๋„๋ก ํ•˜๊ณ , notion์— ์ •๋ฆฌํ•˜๋Š” ๋‚ด์šฉ๋“ค ์ „๋ถ€ ์ž๋™์œผ๋กœ ๋ธ”๋กœ๊ทธ ์›น์‚ฌ์ดํŠธ์— ์—ฐ๋™

  2. tailwind css + daysi UI๋ฅผ ์ด์šฉํ•œ ์Šคํƒ€์ผ๋ง ๋ฐ ๋‹คํฌ/๋ผ์ดํŠธ ๋ชจ๋“œ ๊ตฌ์„ฑ

  3. giscus๋ฅผ ์ด์šฉํ•œ ๋Œ“๊ธ€๊ธฐ๋Šฅ ๊ตฌํ˜„

  4. nodemailer + Vercel cron์„ ์ด์šฉํ•œ Commit Reminder ์ž๋™ํ™” ๊ธฐ๋Šฅ

Technologies

alt text

[2] Getting Started

Prerequisites

  • notion DB๋“ฑ๋ก ๋ฐ ๊ฐ DB ID ํ•„์š”
  • nodemailer๋ฅผ ํ†ตํ•œ ์ž๋™ํ™”๋ฅผ ์œ„ํ•œ gmail 2์ฐจ์ธ์ฆ + ์•ฑ ๋น„๋ฐ€๋ฒˆํ˜ธ ํ•„์š”
  • ์›น์‚ฌ์ดํŠธ ํ˜ธ์ŠคํŒ…ํ•  Vercel ๊ณ„์ • ํ•„์š”

Installation

  1. Repository ํด๋ก 
git clone https://github.com/tnqkr3494/ecodev-blog.git
  1. NPM packages ์„ค์น˜
npm install
  1. ์•„๋ž˜ Configuration ์„ธํŒ… ์™„๋ฃŒํ•˜๊ณ  Vercel์— ๋ฐฐํฌ

  2. ์›น์‚ฌ์ดํŠธ ๊ฒ€์ƒ‰์–ด ๋…ธ์ถœ์„ ์œ„ํ•œ google search console, naver search advisor ๋“ฑ๋ก

Configuration

  • envํŒŒ์ผ ๋“ฑ๋ก
# notion DB์—ฐ๋™์œผ๋กœ ๊ฐ€์ ธ์˜จ ID
FRONT_DB_ID=""
BACK_DB_ID=""
CS_DB_ID=""
ALGORITHM_DB_ID=""
ETC_DB_ID=""

# nodemailer์—์„œ ๋ฐœ์‹ ์ž๋กœ ์‚ฌ์šฉ๋  ์œ ์ € ๋ฉ”์ผ
EMAIL_USER=""
# ์œ„ ์œ ์ €๋ฉ”์ผ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ณ„์ • ์•ฑ ๋น„๋ฐ€๋ฒˆํ˜ธ(2์ฐจ์ธ์ฆ ํ•„์ˆ˜)
EMAIL_PASSWORD=""

# commit๋ฐ˜์˜ํ•  github username
GITHUB_USERNAME=""

# ๋ฉ”์ผ์— ์ฒจ๋ถ€๋  ์ด๋ฏธ์ง€ url
SUCCESS_IMG_URL=""
FAIL_IMG_URL=""
  • Vercel cron ์ปค์Šคํ…€
{
  "crons": [
    {
      "path": "/api/check-contributions",
      "schedule": "0 11 * * *"
    }
  ]
}

schedule๊ฐ’ ์ˆ˜์ •์„ ํ†ตํ•ด ์›ํ•˜๋Š” ์‹œ๊ฐ„์— ๋ฉ”์ผ ์•Œ๋ฆผ์ด ์˜ฌ ์ˆ˜ ์žˆ๋„๋ก ์ˆ˜์ • ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

[3] Usage

๋ฐฐํฌ ์™„๋ฃŒ๋œ ๋ชจ์Šต

https://ecodev-blog.vercel.app/

์ž๋™ ๋ฉ”์ผ ์•Œ๋ฆผ

alt text

[4] Acknowledgement

[5] Contact

About

๐Ÿ’ป ecodev-blog(feat. NextJS14 + react-notion-x)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published