"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Runs a local server for the backend you
 * can use during development
 */
var core_1 = require("@sextant-tools/core");
var express_1 = __importDefault(require("express"));
var setupServer_1 = require("./setupServer");
var app = express_1.default();
setupServer_1.setupServer(app);
core_1.ensureConfigFileExists();
app.listen(4000, function () {
    console.log('Listening on port 4000');
});
