commit
1f63afd4a5
2
consumerWebsite/public/.gitignore
vendored
Normal file
2
consumerWebsite/public/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
.env
|
@ -45,7 +45,7 @@ body {
|
|||||||
100% +
|
100% +
|
||||||
220px
|
220px
|
||||||
);
|
);
|
||||||
padding: 20px
|
padding: 35px
|
||||||
140px;
|
140px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -56,7 +56,7 @@ body {
|
|||||||
}
|
}
|
||||||
.wrapper.active
|
.wrapper.active
|
||||||
.form.login {
|
.form.login {
|
||||||
bottom: -12%;
|
bottom: -10%;
|
||||||
border-radius: 35%;
|
border-radius: 35%;
|
||||||
box-shadow: 0 -5px
|
box-shadow: 0 -5px
|
||||||
10px rgba(0, 0, 0, 0.1);
|
10px rgba(0, 0, 0, 0.1);
|
||||||
@ -88,9 +88,10 @@ body {
|
|||||||
form {
|
form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 20px;
|
gap: 15px;
|
||||||
margin-top: 40px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form
|
form
|
||||||
input {
|
input {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
const newAccessKey = '7f7ce777-6a56-4e5e-bfac-3b83c6453e65';
|
const newAccessKey = '7f7ce777-6a56-4e5e-bfac-3b83c6453e65';
|
||||||
|
//const newAccessKey = process.env.ACCESS_KEY;
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const form = document.getElementById('form');
|
const form = document.getElementById('form');
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
const express = require('express');
|
const express = require('express');
|
||||||
|
const dotenv = require('dotenv');
|
||||||
const bodyParser = require('body-parser');
|
const bodyParser = require('body-parser');
|
||||||
const mysql = require('mysql');
|
const mysql = require('mysql');
|
||||||
|
|
||||||
|
dotenv.config();
|
||||||
|
|
||||||
|
|
||||||
|
app.use(express.static('public'));
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 3000;
|
const port = 3000;
|
||||||
|
|
||||||
|
@ -13,9 +13,11 @@
|
|||||||
<section class="wrapper">
|
<section class="wrapper">
|
||||||
<div class="form signup">
|
<div class="form signup">
|
||||||
<header>Signup</header>
|
<header>Signup</header>
|
||||||
<form action="user.js" method="get">
|
<form action="routes/user.js/register" method="get">
|
||||||
<input type="text" id="username" placeholder="Username" required />
|
<input type="text" id="username" placeholder="Username" required />
|
||||||
<input type="text" id="email" placeholder="Email" required />
|
<input type="text" id="email" placeholder="Email" required />
|
||||||
|
<input type="text" id="address" placeholder="Address" required />
|
||||||
|
<input type="text" id="phone" placeholder="Phone Number" required />
|
||||||
<input type="password" id="password" placeholder="Password" required />
|
<input type="password" id="password" placeholder="Password" required />
|
||||||
<input type="password" id="confirmPassword" placeholder="Confirm Password" required />
|
<input type="password" id="confirmPassword" placeholder="Confirm Password" required />
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
|
2618
package-lock.json
generated
2618
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -39,6 +39,7 @@
|
|||||||
"qrcode": "^1.5.3",
|
"qrcode": "^1.5.3",
|
||||||
"sanitize-html": "^2.11.0",
|
"sanitize-html": "^2.11.0",
|
||||||
"sequelize": "^6.35.2",
|
"sequelize": "^6.35.2",
|
||||||
|
"sql": "^0.78.0",
|
||||||
"validator": "^13.11.0"
|
"validator": "^13.11.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user