start-reddit-server
Provides simple script for safely starting the server. Use whenever you need to start ./cmd/reddit-server. Ex - "start the server..." "Debug the frontend...".
When & Why to Use This Skill
This Claude skill provides an automated and safe way to initialize a local Reddit server environment. It streamlines the startup process for the `./cmd/reddit-server` binary, manages authentication via pre-configured test API keys, and ensures consistent log tracking, making it an essential utility for backend development and frontend debugging.
Use Cases
- Local Development Setup: Quickly spin up the Reddit backend server with a single command, ensuring all necessary paths and environment variables are correctly configured.
- Frontend Debugging: Provide a stable and reproducible backend environment for frontend developers to test UI components and API integrations locally.
- Automated API Testing: Utilize the built-in test API keys and provided curl examples to verify endpoint functionality and response data immediately after server initialization.
- System Monitoring and Troubleshooting: Automatically generate timestamped log files for server operations, allowing developers to easily trace errors and monitor system health during runtime.
| name | start-reddit-server |
|---|---|
| description | Provides simple script for safely starting the server. Use whenever you need to start ./cmd/reddit-server. Ex - "start the server..." "Debug the frontend...". |
start-reddit-server
Overview
To start the server call bash(./.claude/skills/start-reddit-server/scripts/start-reddit-server.sh). Access it localhost:8080. Use gDU5S8l8BH8sCkJ3bC6t4SMYIxlrLlYB for the API key. It's a test key. For example:
curl -H "Authorization: Bearer gDU5S8l8BH8sCkJ3bC6t4SMYIxlrLlYB" http://localhost:8080/api/v1/user/me
Logs
find logs in /logs/reddit-server-$(date +%Y%m%d-%H%M%S).log