summaryrefslogtreecommitdiff
path: root/backend/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/app.js')
-rw-r--r--backend/src/app.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/src/app.js b/backend/src/app.js
new file mode 100644
index 0000000..ef74178
--- /dev/null
+++ b/backend/src/app.js
@@ -0,0 +1,10 @@
+import express from 'express'
+
+const app = express()
+app.use(express.json())
+
+import userRouter from './routes/user.route.js'
+
+app.use('/api/v1/users', userRouter)
+
+export default app \ No newline at end of file