diff options
| author | Daniel Andreas Wang <danielaw@tilde.club> | 2026-03-14 15:37:31 +0100 |
|---|---|---|
| committer | Daniel Andreas Wang <danielaw@tilde.club> | 2026-03-14 15:37:31 +0100 |
| commit | f4f6f490ab0bb1a2a06d660ce1b276a4fad9d2c2 (patch) | |
| tree | 9c9af5b4f49274fd1a62627b8879caf616d25a93 /backend/src/app.js | |
Diffstat (limited to 'backend/src/app.js')
| -rw-r--r-- | backend/src/app.js | 10 |
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 |
