Initial commit: Set up Garmin Health Lab project structure

- Initialize monorepo with root workspace configuration
- Set up Express.js backend with TypeScript
- Set up React 18 frontend with TypeScript
- Create database schema with SQLite
- Implement project architecture and documentation
- Add development and deployment guidelines

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
ericwyuan
2026-08-23 11:11:29 +08:00
commit d73405decb
34 changed files with 1699 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import React, { useEffect, useState } from 'react';
import { apiClient } from '../services/api';
import './Pages.css';
function Dashboard() {
const [loading, setLoading] = useState(true);
const [summary, setSummary] = useState<any>(null);
useEffect(() => {
const loadData = async () => {
try {
// TODO: Fetch health summary data
setLoading(false);
} catch (error) {
console.error('Failed to load summary:', error);
setLoading(false);
}
};
loadData();
}, []);
if (loading) {
return <div className="page-loading">...</div>;
}
return (
<div className="page">
<h2></h2>
<p className="placeholder">...</p>
</div>
);
}
export default Dashboard;