feat: initial user list (no edit/delete yet) and job schedules

This commit is contained in:
sct
2020-11-05 10:45:51 +00:00
parent 320432657e
commit 24a0423f3b
10 changed files with 213 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ import { OpenApiValidator } from 'express-openapi-validator';
import { Session } from './entity/Session';
import { getSettings } from './lib/settings';
import logger from './logger';
import { startJobs } from './job/schedule';
const API_SPEC_PATH = path.join(__dirname, '../overseerr-api.yml');
@@ -27,6 +28,9 @@ app
// Load Settings
getSettings().load();
// Start Jobs
startJobs();
const server = express();
server.use(cookieParser());
server.use(bodyParser.json());