Skip to content

Commit

Permalink
Merge branch 'main' into feature/leo3friedman/pathway-progress-timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
leo3friedman committed Mar 9, 2024
2 parents 742e351 + 8fabd4d commit ecd903e
Show file tree
Hide file tree
Showing 379 changed files with 1,517 additions and 69,228 deletions.
4 changes: 4 additions & 0 deletions backend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
// "@typescript-eslint/no-explicit-any": "off",
// "@typescript-eslint/no-non-null-assertion": "off",

"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/no-unsafe-member-access": "warn",

// Avoid bugs.
"@typescript-eslint/no-shadow": ["error", { "ignoreTypeValueShadow": true }],
"@typescript-eslint/no-unsafe-unary-minus": "error",
Expand Down
11 changes: 0 additions & 11 deletions backend/index.js

This file was deleted.

16 changes: 16 additions & 0 deletions backend/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import express from "express";

import fileRoutes from "./src/routes/fileRoutes";
// const fileRoutes = require("./src/routes/fileRoutes.ts");

const PORT: string | number = process.env.PORT ?? 3001;

const app = express();

app.use(express.json());

app.use("/file", fileRoutes);

app.listen(PORT, () => {
console.log(`Server listening on ${PORT}`);
});
Loading

0 comments on commit ecd903e

Please sign in to comment.