Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cpanel_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: npm
cache-dependency-path: |
package-lock.json
Expand Down
4 changes: 3 additions & 1 deletion backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ The schema enables RLS on submissions, users, and follow-up notes without granti

## 2. Local Development

Use Node.js 22 or newer, as required by the Supabase client runtime.

1. Navigate to the backend directory:
```bash
cd backend
Expand Down Expand Up @@ -65,7 +67,7 @@ The schema enables RLS on submissions, users, and follow-up notes without granti
4. Set the following configuration:
- **Name**: `hgbc-firsttimer-api`
- **Root Directory**: `backend` (if in monorepo) or leave blank if deployed from separate repo.
- **Environment**: `Node`
- **Environment**: `Node` (Node.js 22 or newer; enforced by `package.json`)
- **Build Command**: `npm install`
- **Start Command**: `npm start`
- **Health Check Path**: `/api/health`
Expand Down
3 changes: 3 additions & 0 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "Node.js + Supabase Backend API for HGBC First Timer and Guest Management Portal",
"main": "server.js",
"type": "module",
"engines": {
"node": ">=22"
},
"scripts": {
"start": "node server.js",
"dev": "node --watch server.js",
Expand Down
Loading