feat: add backend
This commit is contained in:
10
apps/server/app.ts
Normal file
10
apps/server/app.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import Koa from 'koa';
|
||||
import { registerMiddlewares } from './middlewares/index.ts';
|
||||
|
||||
const app = new Koa();
|
||||
|
||||
registerMiddlewares(app);
|
||||
|
||||
app.listen(3000, () => {
|
||||
console.log('server started at http://localhost:3000');
|
||||
});
|
||||
Reference in New Issue
Block a user