diff --git a/frontend/Web/admin.html b/frontend/Web/admin.html index 22c599c..69fb7e7 100644 --- a/frontend/Web/admin.html +++ b/frontend/Web/admin.html @@ -70,7 +70,7 @@
This is content. diff --git a/frontend/Web/buy.html b/frontend/Web/buy.html new file mode 100644 index 0000000..bf254d7 --- /dev/null +++ b/frontend/Web/buy.html @@ -0,0 +1,124 @@ + + + + + Buy - ZYM's Book Store + + + + + +
+

ZYM's Book Store

+
+ Welcome, [Guest] +
+
Actions
+ +
+
+
+ +
+ +
+
+
+ + + +
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/frontend/Web/index.html b/frontend/Web/index.html index f47efd5..b740e34 100644 --- a/frontend/Web/index.html +++ b/frontend/Web/index.html @@ -29,7 +29,7 @@
diff --git a/frontend/Web/index.js b/frontend/Web/index.js index a0c4fb8..ffc0375 100644 --- a/frontend/Web/index.js +++ b/frontend/Web/index.js @@ -195,6 +195,10 @@ app.get('/admin', (req, res) => { res.sendFile(join(__dirname, 'admin.html')); }); +app.get('/buy', (req, res) => { + res.sendFile(join(__dirname, 'buy.html')); +}); + server.listen(3000, () => { console.log('server running at http://localhost:3000'); }); \ No newline at end of file diff --git a/frontend/Web/login.html b/frontend/Web/login.html index b4831eb..5166ad7 100644 --- a/frontend/Web/login.html +++ b/frontend/Web/login.html @@ -69,7 +69,7 @@