Moved public files to separate folder and added .env

This commit is contained in:
2021-03-23 03:02:00 +03:00
parent aadfd0708b
commit c5819a4f74
6 changed files with 218 additions and 15 deletions

25
public/index.html Normal file
View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Registration</title>
</head>
<body>
<h1>Register</h1>
<form action="http://localhost:3000/register" method="GET">
<span class="input_row">Username: <input name="login" type="text"></span>
<span class="input_row">Password: <input name="pass" type="password"></span>
<input type="submit" value="Register">
</form>
<h1>Login</h1>
<form action="http://localhost:3000/login" method="GET">
<span class="input_row">Username: <input name="login" type="text"></span>
<span class="input_row">Password: <input name="pass" type="password"></span>
<input type="submit" value="Login">
</form>
</body>
</html>