Showing
5 changed files
with
369 additions
and
0 deletions
.gitignore
0 → 100644
1 | + | ||
2 | +# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,node,jetbrains | ||
3 | +# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,node,jetbrains | ||
4 | + | ||
5 | +### JetBrains ### | ||
6 | +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | ||
7 | +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
8 | + | ||
9 | +# User-specific stuff | ||
10 | +.idea/**/workspace.xml | ||
11 | +.idea/**/tasks.xml | ||
12 | +.idea/**/usage.statistics.xml | ||
13 | +.idea/**/dictionaries | ||
14 | +.idea/**/shelf | ||
15 | + | ||
16 | +# AWS User-specific | ||
17 | +.idea/**/aws.xml | ||
18 | + | ||
19 | +# Generated files | ||
20 | +.idea/**/contentModel.xml | ||
21 | + | ||
22 | +# Sensitive or high-churn files | ||
23 | +.idea/**/dataSources/ | ||
24 | +.idea/**/dataSources.ids | ||
25 | +.idea/**/dataSources.local.xml | ||
26 | +.idea/**/sqlDataSources.xml | ||
27 | +.idea/**/dynamic.xml | ||
28 | +.idea/**/uiDesigner.xml | ||
29 | +.idea/**/dbnavigator.xml | ||
30 | + | ||
31 | +# Gradle | ||
32 | +.idea/**/gradle.xml | ||
33 | +.idea/**/libraries | ||
34 | + | ||
35 | +# Gradle and Maven with auto-import | ||
36 | +# When using Gradle or Maven with auto-import, you should exclude module files, | ||
37 | +# since they will be recreated, and may cause churn. Uncomment if using | ||
38 | +# auto-import. | ||
39 | +# .idea/artifacts | ||
40 | +# .idea/compiler.xml | ||
41 | +# .idea/jarRepositories.xml | ||
42 | +# .idea/modules.xml | ||
43 | +# .idea/*.iml | ||
44 | +# .idea/modules | ||
45 | +# *.iml | ||
46 | +# *.ipr | ||
47 | + | ||
48 | +# CMake | ||
49 | +cmake-build-*/ | ||
50 | + | ||
51 | +# Mongo Explorer plugin | ||
52 | +.idea/**/mongoSettings.xml | ||
53 | + | ||
54 | +# File-based project format | ||
55 | +*.iws | ||
56 | + | ||
57 | +# IntelliJ | ||
58 | +out/ | ||
59 | + | ||
60 | +# mpeltonen/sbt-idea plugin | ||
61 | +.idea_modules/ | ||
62 | + | ||
63 | +# JIRA plugin | ||
64 | +atlassian-ide-plugin.xml | ||
65 | + | ||
66 | +# Cursive Clojure plugin | ||
67 | +.idea/replstate.xml | ||
68 | + | ||
69 | +# SonarLint plugin | ||
70 | +.idea/sonarlint/ | ||
71 | + | ||
72 | +# Crashlytics plugin (for Android Studio and IntelliJ) | ||
73 | +com_crashlytics_export_strings.xml | ||
74 | +crashlytics.properties | ||
75 | +crashlytics-build.properties | ||
76 | +fabric.properties | ||
77 | + | ||
78 | +# Editor-based Rest Client | ||
79 | +.idea/httpRequests | ||
80 | + | ||
81 | +# Android studio 3.1+ serialized cache file | ||
82 | +.idea/caches/build_file_checksums.ser | ||
83 | + | ||
84 | +### JetBrains Patch ### | ||
85 | +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 | ||
86 | + | ||
87 | +# *.iml | ||
88 | +# modules.xml | ||
89 | +# .idea/misc.xml | ||
90 | +# *.ipr | ||
91 | + | ||
92 | +# Sonarlint plugin | ||
93 | +# https://plugins.jetbrains.com/plugin/7973-sonarlint | ||
94 | +.idea/**/sonarlint/ | ||
95 | + | ||
96 | +# SonarQube Plugin | ||
97 | +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin | ||
98 | +.idea/**/sonarIssues.xml | ||
99 | + | ||
100 | +# Markdown Navigator plugin | ||
101 | +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced | ||
102 | +.idea/**/markdown-navigator.xml | ||
103 | +.idea/**/markdown-navigator-enh.xml | ||
104 | +.idea/**/markdown-navigator/ | ||
105 | + | ||
106 | +# Cache file creation bug | ||
107 | +# See https://youtrack.jetbrains.com/issue/JBR-2257 | ||
108 | +.idea/$CACHE_FILE$ | ||
109 | + | ||
110 | +# CodeStream plugin | ||
111 | +# https://plugins.jetbrains.com/plugin/12206-codestream | ||
112 | +.idea/codestream.xml | ||
113 | + | ||
114 | +### Node ### | ||
115 | +# Logs | ||
116 | +logs | ||
117 | +*.log | ||
118 | +npm-debug.log* | ||
119 | +yarn-debug.log* | ||
120 | +yarn-error.log* | ||
121 | +lerna-debug.log* | ||
122 | +.pnpm-debug.log* | ||
123 | + | ||
124 | +# Diagnostic reports (https://nodejs.org/api/report.html) | ||
125 | +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
126 | + | ||
127 | +# Runtime data | ||
128 | +pids | ||
129 | +*.pid | ||
130 | +*.seed | ||
131 | +*.pid.lock | ||
132 | + | ||
133 | +# Directory for instrumented libs generated by jscoverage/JSCover | ||
134 | +lib-cov | ||
135 | + | ||
136 | +# Coverage directory used by tools like istanbul | ||
137 | +coverage | ||
138 | +*.lcov | ||
139 | + | ||
140 | +# nyc test coverage | ||
141 | +.nyc_output | ||
142 | + | ||
143 | +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
144 | +.grunt | ||
145 | + | ||
146 | +# Bower dependency directory (https://bower.io/) | ||
147 | +bower_components | ||
148 | + | ||
149 | +# node-waf configuration | ||
150 | +.lock-wscript | ||
151 | + | ||
152 | +# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
153 | +build/Release | ||
154 | + | ||
155 | +# Dependency directories | ||
156 | +node_modules/ | ||
157 | +jspm_packages/ | ||
158 | + | ||
159 | +# Snowpack dependency directory (https://snowpack.dev/) | ||
160 | +web_modules/ | ||
161 | + | ||
162 | +# TypeScript cache | ||
163 | +*.tsbuildinfo | ||
164 | + | ||
165 | +# Optional npm cache directory | ||
166 | +.npm | ||
167 | + | ||
168 | +# Optional eslint cache | ||
169 | +.eslintcache | ||
170 | + | ||
171 | +# Optional stylelint cache | ||
172 | +.stylelintcache | ||
173 | + | ||
174 | +# Microbundle cache | ||
175 | +.rpt2_cache/ | ||
176 | +.rts2_cache_cjs/ | ||
177 | +.rts2_cache_es/ | ||
178 | +.rts2_cache_umd/ | ||
179 | + | ||
180 | +# Optional REPL history | ||
181 | +.node_repl_history | ||
182 | + | ||
183 | +# Output of 'npm pack' | ||
184 | +*.tgz | ||
185 | + | ||
186 | +# Yarn Integrity file | ||
187 | +.yarn-integrity | ||
188 | + | ||
189 | +# dotenv environment variable files | ||
190 | +.env | ||
191 | +.env.development.local | ||
192 | +.env.test.local | ||
193 | +.env.production.local | ||
194 | +.env.local | ||
195 | + | ||
196 | +# parcel-bundler cache (https://parceljs.org/) | ||
197 | +.cache | ||
198 | +.parcel-cache | ||
199 | + | ||
200 | +# Next.js build output | ||
201 | +.next | ||
202 | +out | ||
203 | + | ||
204 | +# Nuxt.js build / generate output | ||
205 | +.nuxt | ||
206 | +dist | ||
207 | + | ||
208 | +# Gatsby files | ||
209 | +.cache/ | ||
210 | +# Comment in the public line in if your project uses Gatsby and not Next.js | ||
211 | +# https://nextjs.org/blog/next-9-1#public-directory-support | ||
212 | +# public | ||
213 | + | ||
214 | +# vuepress build output | ||
215 | +.vuepress/dist | ||
216 | + | ||
217 | +# vuepress v2.x temp and cache directory | ||
218 | +.temp | ||
219 | + | ||
220 | +# Docusaurus cache and generated files | ||
221 | +.docusaurus | ||
222 | + | ||
223 | +# Serverless directories | ||
224 | +.serverless/ | ||
225 | + | ||
226 | +# FuseBox cache | ||
227 | +.fusebox/ | ||
228 | + | ||
229 | +# DynamoDB Local files | ||
230 | +.dynamodb/ | ||
231 | + | ||
232 | +# TernJS port file | ||
233 | +.tern-port | ||
234 | + | ||
235 | +# Stores VSCode versions used for testing VSCode extensions | ||
236 | +.vscode-test | ||
237 | + | ||
238 | +# yarn v2 | ||
239 | +.yarn/cache | ||
240 | +.yarn/unplugged | ||
241 | +.yarn/build-state.yml | ||
242 | +.yarn/install-state.gz | ||
243 | +.pnp.* | ||
244 | + | ||
245 | +### Node Patch ### | ||
246 | +# Serverless Webpack directories | ||
247 | +.webpack/ | ||
248 | + | ||
249 | +# Optional stylelint cache | ||
250 | + | ||
251 | +# SvelteKit build / generate output | ||
252 | +.svelte-kit | ||
253 | + | ||
254 | +### VisualStudioCode ### | ||
255 | +.vscode/* | ||
256 | +!.vscode/settings.json | ||
257 | +!.vscode/tasks.json | ||
258 | +!.vscode/launch.json | ||
259 | +!.vscode/extensions.json | ||
260 | +!.vscode/*.code-snippets | ||
261 | + | ||
262 | +# Local History for Visual Studio Code | ||
263 | +.history/ | ||
264 | + | ||
265 | +# Built Visual Studio Code Extensions | ||
266 | +*.vsix | ||
267 | + | ||
268 | +### VisualStudioCode Patch ### | ||
269 | +# Ignore all local history of files | ||
270 | +.history | ||
271 | +.ionide | ||
272 | + | ||
273 | +# Support for Project snippet scope | ||
274 | +.vscode/*.code-snippets | ||
275 | + | ||
276 | +# Ignore code-workspaces | ||
277 | +*.code-workspace | ||
278 | + | ||
279 | +# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,node,jetbrains |
README.md
0 → 100644
1 | +![node-16.14.2](https://img.shields.io/badge/Node-16.14.2-green?style=for-the-badge) | ||
2 | + | ||
3 | +## Secondhand-noti-bot | ||
4 | + | ||
5 | +--- | ||
6 | + | ||
7 | +사용자에게 입력받은 키워드를 통해 3곳의 중고매물 사이트(중고나라, 당근마켓, 번개장터)에 매물을 감지, 알림을 전송하는 봇입니다. | ||
8 | + | ||
9 | +## About The Project | ||
10 | + | ||
11 | +--- | ||
12 | + | ||
13 | +- 봇을 사용해 키워드를 입력 받습니다. | ||
14 | +- 주기적 크롤링을 통해 새로운 매물을 감지해 알림을 전송합니다. | ||
15 | + | ||
16 | +### Built With | ||
17 | + | ||
18 | +- [Node.js](https://nodejs.org/ko/) | ||
19 | +- [Express](https://expressjs.com/ko/) | ||
20 | + | ||
21 | +## Getting Started | ||
22 | + | ||
23 | +--- | ||
24 | + | ||
25 | +### Prerequisites | ||
26 | + | ||
27 | +- Node.js | ||
28 | + | ||
29 | +### Installation | ||
30 | + | ||
31 | +1. Clone the repository | ||
32 | + ```sh | ||
33 | + git clone http://khuhub.khu.ac.kr/2018102211/secondhand-noti-bot | ||
34 | + ``` | ||
35 | +2. Install NPM packages | ||
36 | + ```sh | ||
37 | + npm install | ||
38 | + ``` | ||
39 | +3. Start Project | ||
40 | + ```sh | ||
41 | + npm start | ||
42 | + ``` | ||
43 | + | ||
44 | +## Contributing | ||
45 | + | ||
46 | +--- | ||
47 | + | ||
48 | +프로젝트에 기여하고 싶으신 분들은 아래 절차를 따라주시기 바랍니다. | ||
49 | + | ||
50 | +1. 프로젝트 fork | ||
51 | +2. feature branch 생성 (git checkout -b feature/n-name) (프로젝트 feature를 구분하기 위해 feature name 앞에 숫자를 넣습니다.) | ||
52 | +3. commit (git commit -m "Add feature) | ||
53 | +4. push (git push origin feature/n-name) | ||
54 | +5. pull request 생성 | ||
55 | + | ||
56 | +## Contact | ||
57 | + | ||
58 | +--- | ||
59 | + | ||
60 | +- 유명현, mhlew0106@khu.ac.kr | ||
61 | +- 윤준석, phobyjun@gmail.com |
app.js
0 → 100644
package-lock.json
0 → 100644
This diff could not be displayed because it is too large.
package.json
0 → 100644
1 | +{ | ||
2 | + "name": "secondhand-noti-bot", | ||
3 | + "version": "1.0.0", | ||
4 | + "description": "secondhand notification bot with keyword", | ||
5 | + "main": "app.js", | ||
6 | + "scripts": { | ||
7 | + "start": "node ./app.js", | ||
8 | + "start:dev": "nodemon ./app.js", | ||
9 | + "test": "echo \"Error: no test specified\" && exit 1" | ||
10 | + }, | ||
11 | + "repository": { | ||
12 | + "type": "git", | ||
13 | + "url": "http://khuhub.khu.ac.kr/2018102211/secondhand-noti-bot.git" | ||
14 | + }, | ||
15 | + "author": "", | ||
16 | + "license": "MIT", | ||
17 | + "dependencies": { | ||
18 | + "express": "^4.18.1", | ||
19 | + "nodemon": "^2.0.16" | ||
20 | + } | ||
21 | +} |
-
Please register or login to post a comment