Skip to content

Commit

Permalink
feat:added welcome route
Browse files Browse the repository at this point in the history
  • Loading branch information
SySagar committed Oct 20, 2023
1 parent 953f602 commit 0dcbed7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/classic/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const classicRouter =(req,res)=> {
res.send("🚀 Server is up and running!")
}
2 changes: 2 additions & 0 deletions src/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { eventRouter } from "./event/index.js";
import { mediaRouter } from "./media/index.js";
import { inductionRouter } from "./induction/index.js";
import { githubRouter } from "./github/index.js";
import {classicRouter} from"./classic/index.js";

const appRouter = Router()

appRouter.use('/', classicRouter)
appRouter.use('/user', userRouter)
appRouter.use('/event', eventRouter)
appRouter.use('/media', mediaRouter)
Expand Down

0 comments on commit 0dcbed7

Please sign in to comment.