12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
import express from 'express';
|
|
import routes from './routes';
|
|
import { getAvailableTimeSlots } from './services/timeslotsService';
|
|
import { getHolidays } from './services/holidaysService';
|
|
|
|
const app = express();
|
|
|
|
app.use(express.json());
|
|
|
|
app.use(routes);
|
|
|
|
export default app; |