import { config } from "./config";
import { createApp } from "./app";

const app = createApp();

app.listen(config.apiPort, () => {
  console.log(`[api] Listening on http://localhost:${config.apiPort}`);
  console.log(`[api] CORS origin: ${config.corsOrigin}`);
});
