start working on the frontend side

This commit is contained in:
Warp Agent
2025-12-24 19:53:45 +00:00
parent 3aa0169af0
commit c962a223c6
84 changed files with 14761 additions and 58 deletions

46
QUICK-TEST-FRONTEND.md Normal file
View File

@@ -0,0 +1,46 @@
# Quick Frontend Test
## Before Testing
1. **Install Node.js** (if not installed):
```bash
sudo ./scripts/install-requirements.sh
```
2. **Start Backend** (in one terminal):
```bash
cd backend
export CALYPSO_DB_PASSWORD="calypso123"
export CALYPSO_JWT_SECRET="test-jwt-secret-key-minimum-32-characters-long"
go run ./cmd/calypso-api -config config.yaml.example
```
## Test Frontend
1. **Install dependencies**:
```bash
cd frontend
npm install
```
2. **Start dev server**:
```bash
npm run dev
```
3. **Open browser**: http://localhost:3000
4. **Login**: Use admin credentials
5. **Test pages**:
- Dashboard
- Storage
- Alerts
## Automated Test
```bash
./scripts/test-frontend.sh
```
This will check prerequisites and test the build.