PasswordBox/backend/src/index.ts

9 lines
292 B
TypeScript
Raw Normal View History

2024-09-15 23:18:42 +01:00
import {Elysia} from 'elysia'
import userController from './User/Controller'
import adminController from './admin/Controller'
const app = new Elysia()
.get('/', () => "Hello")
.group('/user', (app) => app.use(userController))
.group('/admin', (app) => app.use(adminController))
.listen(3000)