Add comprehensive Terraform infrastructure with Firebase automation

- Create Firebase project, web app, and Firestore database
- Automate Firebase Authentication with email templates
- Configure security rules for user data isolation
- Support Cloud Run and App Engine hosting options
- Add professional email templates for password reset and verification
- Include deployment scripts and comprehensive documentation
- Implement service accounts with minimal required permissions
- Add Docker configuration for containerized deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-27 15:46:43 -07:00
parent 2b5bef1a28
commit fa2bbad5ba
17 changed files with 1905 additions and 0 deletions

View File

@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verify Your Email - Rothbard Law Group</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
background: #1a365d;
color: white;
padding: 20px;
text-align: center;
}
.content {
padding: 30px 20px;
background: #f8f9fa;
}
.button {
display: inline-block;
background: #2c5282;
color: white;
padding: 12px 30px;
text-decoration: none;
border-radius: 5px;
margin: 20px 0;
}
.footer {
background: #e2e8f0;
padding: 20px;
text-align: center;
font-size: 12px;
color: #666;
}
.welcome-box {
background: white;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #2c5282;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="header">
<h1>Rothbard Law Group</h1>
<p>Client Portal</p>
</div>
<div class="content">
<h2>Welcome to the Rothbard Law Group Client Portal</h2>
<div class="welcome-box">
<p><strong>Thank you for signing up!</strong></p>
<p>You're just one step away from accessing your case information securely.</p>
</div>
<p>Please verify your email address to complete your registration:</p>
<p><a href="{{ verificationLink }}" class="button">Verify Email Address</a></p>
<p>Or copy and paste this link into your browser:</p>
<p>{{ verificationLink }}</p>
<p><strong>What happens next?</strong></p>
<ul>
<li>Once verified, you'll have full access to the client portal</li>
<li>You can view your case information and documents</li>
<li>Communicate securely with our legal team</li>
</ul>
<p><strong>Important:</strong></p>
<ul>
<li>This verification link will expire in 24 hours</li>
<li>If you didn't create an account, please ignore this email</li>
<li>Your account information is kept secure and confidential</li>
</ul>
<p>If you have any questions or need assistance, please contact our support team.</p>
</div>
<div class="footer">
<p>&copy; 2024 Rothbard Law Group. All rights reserved.</p>
<p>This is an automated message. Please do not reply to this email.</p>
<p>Rothbard Law Group | 123 Legal Street | City, State 12345 | (555) 123-4567</p>
</div>
</body>
</html>

View File

@@ -0,0 +1,31 @@
Rothbard Law Group - Email Verification
Welcome to Rothbard Law Group Client Portal!
Thank you for signing up for our client portal. You're just one step away from accessing your case information securely.
Please verify your email address to complete your registration:
{{ verificationLink }}
If the button doesn't work, you can copy and paste this link into your browser.
What happens next?
- Once verified, you'll have full access to the client portal
- You can view your case information and documents
- Communicate securely with our legal team
Important Information:
- This verification link will expire in 24 hours
- If you didn't create an account, please ignore this email
- Your account information is kept secure and confidential
If you have any questions or need assistance, please contact our support team.
Thank you for choosing Rothbard Law Group.
---
Rothbard Law Group
123 Legal Street
City, State 12345
(555) 123-4567
support@rothbardlaw.com

View File

@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reset Your Password - Rothbard Law Group</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
background: #1a365d;
color: white;
padding: 20px;
text-align: center;
}
.content {
padding: 30px 20px;
background: #f8f9fa;
}
.button {
display: inline-block;
background: #2c5282;
color: white;
padding: 12px 30px;
text-decoration: none;
border-radius: 5px;
margin: 20px 0;
}
.footer {
background: #e2e8f0;
padding: 20px;
text-align: center;
font-size: 12px;
color: #666;
}
</style>
</head>
<body>
<div class="header">
<h1>Rothbard Law Group</h1>
<p>Client Portal</p>
</div>
<div class="content">
<h2>Reset Your Password</h2>
<p>Hello,</p>
<p>We received a request to reset the password for your Rothbard Law Group client portal account. Click the button below to reset your password:</p>
<p><a href="{{ resetLink }}" class="button">Reset Password</a></p>
<p>Or copy and paste this link into your browser:</p>
<p>{{ resetLink }}</p>
<p><strong>Important:</strong></p>
<ul>
<li>This link will expire in 24 hours</li>
<li>If you didn't request a password reset, please ignore this email</li>
<li>For security reasons, never share this link with anyone</li>
</ul>
<p>If you have any questions or need assistance, please contact our support team.</p>
</div>
<div class="footer">
<p>&copy; 2024 Rothbard Law Group. All rights reserved.</p>
<p>This is an automated message. Please do not reply to this email.</p>
<p>Rothbard Law Group | 123 Legal Street | City, State 12345 | (555) 123-4567</p>
</div>
</body>
</html>

View File

@@ -0,0 +1,27 @@
Rothbard Law Group - Password Reset
Hello,
We received a request to reset your password for your Rothbard Law Group client portal account.
To reset your password, please visit this link:
{{ resetLink }}
If the button doesn't work, you can copy and paste the link into your browser.
Important Information:
- This link will expire in 24 hours
- If you didn't request a password reset, please ignore this email
- For security reasons, never share this link with anyone
If you have any questions or need assistance, please contact our support team.
Thank you,
Rothbard Law Group
---
Rothbard Law Group
123 Legal Street
City, State 12345
(555) 123-4567
support@rothbardlaw.com