API APP DOCTOR

This commit is contained in:
ivan-sim
2024-04-23 16:28:59 +07:00
parent 2cf00ac927
commit 1cb3b2d3f0
15 changed files with 811 additions and 10 deletions

View File

@@ -7,4 +7,6 @@ return [
'password' => 'Password wrong. Please try again.',
'read_notification' => 'Notification has been read.',
'already_exists' => 'Data already exists.',
'logout' => 'User logged out successfully.',
'token_expired' => 'Token has expired. Please re-request the token.'
];

View File

@@ -6,5 +6,7 @@ return [
'max' => [
'file' => ':attribute max size is :max.',
],
'email' => 'Invalid email format.'
];
'email' => 'Invalid email format.',
'regex' => 'The :attribute must contain at least one uppercase letter, one lowercase letter, and one numeric digit.',
'min' => 'The :attribute must be at least 8 characters.'
];

View File

@@ -7,4 +7,6 @@ return [
'password' => 'Password salah. Silakan coba lagi.',
'read_notification' => 'Notifikasi telah dibaca.',
'already_exists' => 'Data sudah ada.',
'logout' => 'User berhasil logout.',
'token_expired' => 'Token telah kedaluwarsa. Silakan minta ulang token.'
];

View File

@@ -6,5 +6,7 @@ return [
'max' => [
'file' => ':attribute tidak boleh melebihi :max.',
],
'email' => 'Format email salah.'
];
'email' => 'Format email salah.',
'regex' => ':attribute harus berisi setidaknya satu huruf besar, satu huruf kecil, dan satu digit angka.',
'min' => ':attribute setidaknya harus terdiri dari 8 karakter.'
];

View File

@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verification Code</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: ##5eebd3;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
margin-bottom: 20px;
}
.verification-code {
font-size: 24px;
font-weight: bold;
text-align: center;
padding: 20px;
background-color: #3fccb4;
color: #fff;
border-radius: 5px;
}
.info-text {
text-align: center;
margin-top: 20px;
}
.footer-text {
text-align: center;
margin-top: 30px;
color: #666;
}
</style>
</head>
<body>
<div class="container">
<h2>Verification Code</h2>
<div class="verification-code">{{$token}}</div>
<p class="info-text">This code is valid for 60 minutes.</p>
<p class="footer-text">If you did not request this code, please ignore this message.</p>
</div>
</body>
</html>