김대선

프로그래머스 채용정보 관련 브랜치 생성

...@@ -5,7 +5,7 @@ const naverRouter = require('./router/naver.js') ...@@ -5,7 +5,7 @@ const naverRouter = require('./router/naver.js')
5 5
6 const naverRouter = require('./router/naver') 6 const naverRouter = require('./router/naver')
7 const kakaoRouter = require('./router/kakao') 7 const kakaoRouter = require('./router/kakao')
8 - 8 +const programmersRouter = require('./router/programmers')
9 9
10 const app = express(); 10 const app = express();
11 11
...@@ -17,6 +17,7 @@ const server = app.listen(3000,()=>{ ...@@ -17,6 +17,7 @@ const server = app.listen(3000,()=>{
17 17
18 app.use('/naver', naverRouter) 18 app.use('/naver', naverRouter)
19 app.use('/kakao', kakaoRouter) 19 app.use('/kakao', kakaoRouter)
20 +app.use('/programmers', programmersRouter)
20 21
21 app.get('/', (req, res)=>{ 22 app.get('/', (req, res)=>{
22 res.send("this is home!") 23 res.send("this is home!")
......
1 +const express = require('express')
2 +const router = express.Router()
3 +
4 +const programmersFunction = require('./programmersFunction')
5 +
6 +router.get('/', (req, res, error)=>{
7 + res.send("programmers home")
8 +})
9 +
10 +router.get('/recruitment', async (req, res, error)=>{
11 + res.send("this is programmers recruitment")
12 +})
13 +
14 +
15 +module.exports = router
...\ No newline at end of file ...\ No newline at end of file
1 +const puppeteer = require('puppeteer')
2 +const cheerio = require('cheerio')
3 +const sanitizeHtml =require('sanitize-html')
4 +
5 +
6 +module.exports = {
7 +
8 +}
...\ No newline at end of file ...\ No newline at end of file