Initial commit: Add HomeBase application with Docker support, deployment scripts, and health check endpoint
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled

This commit is contained in:
2026-02-03 15:40:41 -05:00
commit 8a1409b3d6
12 changed files with 557 additions and 0 deletions

25
server.js Normal file
View File

@@ -0,0 +1,25 @@
const express = require('express');
const app = express();
const PORT = process.env.PORT || 3001;
const DOMAIN = process.env.DOMAIN || 'homebase.sketchferret.com';
app.get('/', (req, res) => {
res.json({
message: 'HomeBase is running!',
domain: DOMAIN,
timestamp: new Date().toISOString(),
version: '1.0.0'
});
});
app.get('/health', (req, res) => {
res.json({ status: 'healthy' });
});
app.listen(PORT, '0.0.0.0', () => {
console.log(`Server running on port ${PORT}`);
console.log(`Domain: ${DOMAIN}`);
console.log(`Visit: http://${DOMAIN}`);
});