Skip to content

Commit 91911c6

Browse files
authored
Added Comment for mysql test route
1 parent 38fd254 commit 91911c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/modules/users/user.routes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const userRoutes = express.Router()
99
userRoutes.get('/', asyncWrapper(users.index))
1010
userRoutes.post('/', validate(newuser), asyncWrapper(users.create))
1111
userRoutes.put('/:id', asyncWrapper(users.update))
12+
13+
// This route uses mysql DB for demo purpose to just show how can one use mysql in this app
1214
userRoutes.get('/testmysqlroute', asyncWrapper(users.testMysql))
1315

1416
export { userRoutes }

0 commit comments

Comments
 (0)