mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-07-09 05:57:40 +00:00
initial setup
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import express from 'express';
|
||||
import apiRouter from './routes/api-router.js';
|
||||
import { env } from './config/env.js';
|
||||
|
||||
const app = express();
|
||||
|
||||
app.use(express.json());
|
||||
app.use(env.apiBasePath, apiRouter);
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user