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 automates the initialization and management of a local Reddit-style server environment. It provides a secure bash script for server startup, streamlining the development workflow by handling environment execution, authentication with test API keys, and providing immediate access to local endpoints for debugging and testing.
Use Cases
- Local Development Workflow: Quickly launch the backend server using automated scripts to ensure a consistent and safe startup process without manual terminal commands.
- Frontend Debugging: Spin up the server environment to provide a live local API, allowing developers to test and debug frontend components in real-time.
- API Integration & Testing: Utilize the pre-configured test API keys and provided curl examples to verify endpoint functionality and data integrity.
- Server Observability: Monitor system health and troubleshoot runtime issues by accessing automatically generated, timestamped log files.
| 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