A full-stack health monitoring dashboard built with React, Express, and Supabase.
- Real-time health monitoring
- Critical alerts and notifications
- Detailed system metrics
- Filterable health check logs
- Beautiful and responsive UI
- Frontend: React, Vite, TailwindCSS
- Backend: Express, Node.js
- Database: Supabase (PostgreSQL)
- Testing: Vitest, React Testing Library
- Node.js 18 or higher
- npm 9 or higher
- Supabase account and project
Create a .env file in the root directory with the following variables:
PORT=3001
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_API_URL=https://your-backend-service.railway.app
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Run tests:
npm test
-
Install Railway CLI:
npm i -g @railway/cli
-
Login to Railway:
railway login
-
Link your project:
railway link
-
Deploy your application:
railway up
-
Set environment variables in Railway dashboard:
- Go to your project settings
- Add the required environment variables from your
.envfile
-
Build the application:
npm run build
-
Start the production server:
npm run start
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the ISC License.