lots of layout; server not really running yet

This commit is contained in:
Mikayla Dobson
2022-11-17 18:08:31 -06:00
parent 798da777a9
commit 628d0dc04b
11 changed files with 2086 additions and 71 deletions

View File

@@ -1,5 +1,8 @@
import express from 'express';
import cors from 'cors';
import dotenv from 'dotenv';
dotenv.config({ path: './.env' });
import { loaders } from './loaders';
const port = 8080;
@@ -10,6 +13,6 @@ app.use(cors());
const app = express();
await loaders(app);
app.listen(port, () => {
console.log('listening on ' + port);
console.log('listening on port ' + port);
})
})();