diff options
Diffstat (limited to 'auth')
-rw-r--r-- | auth/index.js | 14 | ||||
-rw-r--r-- | auth/public/index.html | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/auth/index.js b/auth/index.js new file mode 100644 index 0000000..9bc3f58 --- /dev/null +++ b/auth/index.js @@ -0,0 +1,14 @@ +const express = require("express"); +const db = require("../db"); +const app = express.Router(); + +// TODO: Name list parser (teachers + pupils) +// TODO: Add users (OTP) +// TODO: Change passwords +// TODO: Login (+ Frontend, cookie, etc) + +app.use("/", express.static(__dirname + "/public")); + +app.get("/api/list", (req, res) => {}); + +module.exports = app; diff --git a/auth/public/index.html b/auth/public/index.html new file mode 100644 index 0000000..c290ab0 --- /dev/null +++ b/auth/public/index.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width" /> + <title>Auth</title> + </head> + <body></body> +</html> |