Skip to content

Commit 254931f

Browse files
authored
Merge pull request #20 from ZeroHost-Code/beta
2 parents fa0b69c + 6e172f5 commit 254931f

8 files changed

Lines changed: 708 additions & 450 deletions

File tree

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@ CAP_SECRET=change_me
2727
# Session & Cookie
2828
COOKIE_SECRET=change_me_to_a_random_string
2929

30+
# Resend (email)
31+
RESEND_API_KEY=re_xxxxxxxxx
32+
RESEND_FROM_EMAIL=noreply@your-domain.com
33+
3034
# Logging
3135
LOG_LEVEL=info

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Game server management dashboard for the ZeroHost platform. Provides user-facing server lifecycle management (creation, renewal, suspension, deletion) backed by a panel API.
44

5-
[![ZeroHost](https://img.zero-host.org/assets/github.png)](https://github.com/ZeroHost-Code/legal/blob/main/zhsl.md)
5+
<img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/403b7c93-1121-4f4c-b407-ed1235b73218" />
66

7-
<img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/3bf1a711-9923-4089-8a12-94bbc134c41b" />
7+
[![ZeroHost](https://img.zero-host.org/assets/github.png)](https://github.com/ZeroHost-Code/legal/blob/main/zhsl.md)
88

99
---
1010

@@ -555,3 +555,8 @@ Two deployment workflows are configured:
555555
- **deploy-main.yml**: Triggered on push to `main` branch.
556556

557557
Both use SSH credentials configured as GitHub repository secrets (`SSH_HOST`, `SSH_USER`, `SSH_PASSWORD`, `SSH_PORT`).
558+
559+
---
560+
561+
## GitHub Stats
562+
![Alt](https://repobeats.axiom.co/api/embed/2f957f930d36f4a2913f8aeb07712cedbd4b38c5.svg "Repobeats analytics image")

config/migrate.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const tables = {
1818
{ name: 'token_version', def: 'INT NOT NULL DEFAULT 0' },
1919
{ name: 'avatar', def: 'VARCHAR(255) DEFAULT NULL' },
2020
{ name: 'ptero_client_api_key', def: 'VARCHAR(255) DEFAULT NULL' },
21+
{ name: 'email_verified', def: 'TINYINT(1) NOT NULL DEFAULT 0' },
22+
{ name: 'verification_token', def: 'VARCHAR(64) DEFAULT NULL' },
23+
{ name: 'verification_token_expires', def: 'DATETIME DEFAULT NULL' },
2124
{ name: 'created_at', def: 'TIMESTAMP DEFAULT CURRENT_TIMESTAMP' },
2225
],
2326
},

0 commit comments

Comments
 (0)