Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대선
/
Recruitment_Information_chatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김대선
2021-05-10 01:20:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
25e33c17a87e855776a3c5c087d1d5de15cc13b2
25e33c17
1 parent
b31b2539
프로그래머스 채용정보 관련 브랜치 생성
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
app.js
router/programmers.js
router/programmersFunction.js
app.js
View file @
25e33c1
...
...
@@ -5,7 +5,7 @@ const naverRouter = require('./router/naver.js')
const
naverRouter
=
require
(
'./router/naver'
)
const
kakaoRouter
=
require
(
'./router/kakao'
)
const
programmersRouter
=
require
(
'./router/programmers'
)
const
app
=
express
();
...
...
@@ -17,6 +17,7 @@ const server = app.listen(3000,()=>{
app
.
use
(
'/naver'
,
naverRouter
)
app
.
use
(
'/kakao'
,
kakaoRouter
)
app
.
use
(
'/programmers'
,
programmersRouter
)
app
.
get
(
'/'
,
(
req
,
res
)
=>
{
res
.
send
(
"this is home!"
)
...
...
router/programmers.js
0 → 100644
View file @
25e33c1
const
express
=
require
(
'express'
)
const
router
=
express
.
Router
()
const
programmersFunction
=
require
(
'./programmersFunction'
)
router
.
get
(
'/'
,
(
req
,
res
,
error
)
=>
{
res
.
send
(
"programmers home"
)
})
router
.
get
(
'/recruitment'
,
async
(
req
,
res
,
error
)
=>
{
res
.
send
(
"this is programmers recruitment"
)
})
module
.
exports
=
router
\ No newline at end of file
router/programmersFunction.js
0 → 100644
View file @
25e33c1
const
puppeteer
=
require
(
'puppeteer'
)
const
cheerio
=
require
(
'cheerio'
)
const
sanitizeHtml
=
require
(
'sanitize-html'
)
module
.
exports
=
{
}
\ No newline at end of file
Please
register
or
login
to post a comment