Separate API, proc

This commit is contained in:
oitsjustjose 2023-04-22 23:46:37 -05:00
commit 6a3f531527
27 changed files with 334 additions and 104 deletions

8
backend/src/server.ts Normal file
View file

@ -0,0 +1,8 @@
import App from "./app";
import { connectDb } from "./db";
(async () => {
await connectDb();
const port = process.env.PORT || 3030;
App.listen(port, () => console.log(`Listening on http://0.0.0.0:${port}`));
})();