diff --git a/.dockerignore b/.dockerignore index 210cc6c..ca69b3a 100755 --- a/.dockerignore +++ b/.dockerignore @@ -17,4 +17,8 @@ example.env migrations -newsData \ No newline at end of file +newsData + +images + +README.md \ No newline at end of file diff --git a/README.md b/README.md index a16df29..0b05e1a 100755 --- a/README.md +++ b/README.md @@ -1,25 +1,41 @@ -# Data Scraping +# Tech News Backend + +- Scrape Page: https://scrape.donghyuns.com + + +Landing Page ## Hacker News -- URL: https://news.ycombinator.com +- Original URL: https://news.ycombinator.com - Hacker News 1~30위 - + +Hacker News + ## ML News -- URL: https://allainews.com/?ref=mlnews +- Original URL: https://allainews.com/?ref=mlnews - Machine Learning 관련 뉴스 - + +Machine Learning News ## Geek News -- URL: https://news.hada.io +- Original URL: https://news.hada.io - Geek News - + +Geek News + +## Data ERD + +- Login Function is Work-In-Progress with frontend. + + +E-R Diagram --- @@ -45,13 +61,13 @@ 로컬에 npm/yarn과 prisma를 설치한다 로컬이 아니더라도 작업할 환경에서 - ``` + ```shell npm run migrate ``` 혹은 - ``` + ```shell yarn run migrate ``` @@ -59,7 +75,7 @@ * 이미 실행 중에 데이터베이스 스키마가 변경되었을 떄 - ``` + ```shell yarn run db:update ``` @@ -82,12 +98,12 @@ 후에 db 컨테이너 구동 - ``` + ```shell sudo docker-compose up -d db ``` 그 후에 백엔드 컨테이너 구동 - ``` + ```shell sudo docker-compose up -d backend ``` diff --git a/images/erd_news.png b/images/erd_news.png new file mode 100644 index 0000000..b405fdc Binary files /dev/null and b/images/erd_news.png differ diff --git a/images/geek.png b/images/geek.png new file mode 100644 index 0000000..f90c72f Binary files /dev/null and b/images/geek.png differ diff --git a/images/hacker.png b/images/hacker.png new file mode 100644 index 0000000..f2b0b9b Binary files /dev/null and b/images/hacker.png differ diff --git a/images/landing.png b/images/landing.png new file mode 100644 index 0000000..5355038 Binary files /dev/null and b/images/landing.png differ diff --git a/images/ml.png b/images/ml.png new file mode 100644 index 0000000..7432192 Binary files /dev/null and b/images/ml.png differ