Common Tasks Reference¶
Reference for common development tasks you can perform through Claude Code.
Server Management¶
Start Servers¶
Claude Code will:
- Start backend with
npm run start:dev - Start frontend with
npm run dev - Confirm both are running
Stop Servers¶
Claude Code will:
- Find running Node processes
- Gracefully stop them
- Confirm they're stopped
Restart Servers¶
Use this after:
- Configuration changes
- Installing new dependencies
- Schema updates
Check Server Status¶
Claude Code checks:
| Service | Check |
|---|---|
| Backend | http://localhost:3001/health |
| Frontend | http://localhost:3003 |
| Database | PostgreSQL connection |
Verification¶
Full Verification¶
Claude Code checks:
- Prerequisites - Node, npm, PostgreSQL versions
- Directories - backend/, frontend/ exist
- Environment - .env files present and valid
- Database - Connection works, tables exist
- Services - Backend and frontend responding
- Auth - Login/register endpoints work
Quick Health Check¶
Database Verification¶
Logging and Debugging¶
View Backend Logs¶
View Frontend Logs¶
View Both Logs¶
Search Logs for Errors¶
Tail Logs¶
Database Tasks¶
Check Database Status¶
List Tables¶
Run Migrations¶
Reset Database¶
Destructive Action
Claude Code will ask for confirmation before dropping the database.
Dependency Management¶
Install Dependencies¶
Update Dependencies¶
Check for Outdated Packages¶
Install Specific Package¶
Or:
Code Generation¶
Regenerate Apso Entities¶
Fix DTO Imports¶
Generate New Entity¶
Environment Configuration¶
Check Environment Variables¶
Update Environment Variable¶
Generate New Auth Secret¶
Troubleshooting¶
Diagnose Connection Issues¶
Fix Port Conflicts¶
Debug Auth Issues¶
Check for Common Issues¶
Project Cleanup¶
Clean Build Artifacts¶
Fresh Reinstall¶
Reset to Clean State¶
Destructive Action
Claude Code will ask for confirmation before deleting directories.
Quick Reference¶
| Task | What to Say |
|---|---|
| Start servers | "Start the dev servers" |
| Stop servers | "Stop all servers" |
| Restart servers | "Restart the servers" |
| Check health | "Are my servers running?" |
| View logs | "Show me the logs" |
| Verify setup | "Verify my setup" |
| Check database | "Check database connection" |
| Install deps | "Install dependencies" |
| Regenerate code | "Regenerate Apso entities" |
| Fix issues | "Help me fix [describe issue]" |
Tips¶
Be Specific¶
The more context you provide, the better Claude Code can help:
# Good
The backend server won't start. I'm seeing a database connection error in the logs.
# Less helpful
Server won't start
Ask for Explanations¶
Chain Tasks¶
Get Help with Errors¶
Copy-paste error messages directly: