Commit b5bfc970 authored by Piyaphorn Arphornsri's avatar Piyaphorn Arphornsri

add db

parent d94ba383
...@@ -12,6 +12,7 @@ app.use(bodyParser.urlencoded({ extended: false })) ...@@ -12,6 +12,7 @@ app.use(bodyParser.urlencoded({ extended: false }))
app.use('/api/auth', router.auth); app.use('/api/auth', router.auth);
app.use('/api/list', router.list); app.use('/api/list', router.list);
app.use('/api/shop', router.shop); app.use('/api/shop', router.shop);
app.use('/api/promotion', router.promotion);
app.listen(port, () => { app.listen(port, () => {
console.log('Express server listening on port ' + port) console.log('Express server listening on port ' + port)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment