feat(backend): Repositories toegevoegd, databank unit-testbaar gemaakt.
This commit is contained in:
parent
2657e49ad6
commit
374de3b21a
15 changed files with 1672 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
|||
import express, { Express, Response } from 'express';
|
||||
import initORM from './orm.js';
|
||||
import { initORM } from './orm.js';
|
||||
|
||||
const app: Express = express();
|
||||
const port: string | number = process.env.PORT || 3000;
|
||||
|
@ -19,4 +19,4 @@ async function startServer() {
|
|||
});
|
||||
}
|
||||
|
||||
startServer();
|
||||
await startServer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue