12 lines
225 B
TypeScript
12 lines
225 B
TypeScript
import express from "express";
|
|
import * as bodyParser from 'body-parser';
|
|
import * as routes from "./routes"
|
|
|
|
const app = express();
|
|
app.use(bodyParser.json());
|
|
|
|
// Configure routes
|
|
routes.register(app);
|
|
|
|
export default app;
|