スキル一覧に戻る
joeczar

dev-server

by joeczar

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: dev-server description: Manage development servers for vacay-photo-map. Use when starting, stopping, or checking status of postgres, frontend (Vite), or API (Bun) servers. allowed-tools: Bash

Dev Server Manager

Manages the three dev services: PostgreSQL, Frontend (Vite), and API (Bun/Hono).

Quick Commands

Check Status

.claude/hooks/check-dev-status.sh

Start All Services

# Start postgres first (use the hook for proper wait)
.claude/hooks/start-dev.sh

# Or manually:
docker compose -p vacay-dev up -d postgres
# Wait for ready: docker compose -p vacay-dev exec -T postgres pg_isready -U vacay

# Start frontend and API (run in background)
pnpm dev &
pnpm dev:api &

Start Individual Services

# Postgres only
docker compose -p vacay-dev up -d postgres

# Frontend only (localhost:5173)
pnpm dev

# API only (localhost:4000)
pnpm dev:api

Stop All Services

.claude/hooks/cleanup-dev.sh

Stop Individual Services

# Stop frontend/API (matches the pnpm commands)
pkill -f "pnpm dev"
pkill -f "pnpm dev:api"

# Stop postgres
docker compose -p vacay-dev down

Service Details

ServicePortCommandHealth Check
PostgreSQL5433docker compose -p vacay-dev up -d postgresdocker compose -p vacay-dev ps
Frontend5173pnpm devcurl -s localhost:5173
API4000pnpm dev:apicurl -s localhost:4000

Dev Tunnel Mode

For mobile/WebAuthn testing via Cloudflare Tunnel:

Same commands - tunnel is configured on server side.

Troubleshooting

Port already in use

# Find what's using the port
lsof -i :5173
lsof -i :4000

# Kill it
kill -9 <PID>

Orphaned processes

# Run cleanup script
.claude/hooks/cleanup-dev.sh

# Or manually
pkill -f "pnpm dev"
pkill -f "pnpm dev:api"

Database connection issues

# Check postgres logs
docker compose -p vacay-dev logs postgres

# Restart postgres
docker compose -p vacay-dev restart postgres

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です