From ce6a00fa25bd12774fa86ee384e840565ecf965b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 1 Oct 2020 16:45:33 +0200 Subject: Added quotes frontend --- app.js | 2 ++ auth/public/index.html | 2 +- auth/public/style.css | 3 ++- quotes/public/index.html | 30 ++++++++++++++++++++++++++++++ quotes/public/script.js | 28 ++++++++++++++++++++++++++++ quotes/public/style.css | 33 +++++++++++++++++++++++++++++++++ tables.sql | 12 ++++++++++++ 7 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 quotes/public/index.html create mode 100644 quotes/public/script.js create mode 100644 quotes/public/style.css diff --git a/app.js b/app.js index a527074..b4f4282 100644 --- a/app.js +++ b/app.js @@ -3,6 +3,7 @@ const express = require("express"); const motto = require("./motto"); const auth = require("./auth"); +const quotes = require("./quotes"); const app = express(); @@ -12,5 +13,6 @@ app.use(express.json()); app.get("/", (req, res) => res.redirect("/motto")); app.use("/motto", motto); app.use("/auth", auth); +app.use("/quotes", quotes); app.listen(5005, () => console.log("Server started on http://localhost:5005")); diff --git a/auth/public/index.html b/auth/public/index.html index b016ac6..8bf9ecd 100644 --- a/auth/public/index.html +++ b/auth/public/index.html @@ -18,7 +18,7 @@
Login - +