OpenAPI Documentation (openapi.yaml): - Complete API specification in OpenAPI 3.0.3 format - 8 documented endpoints with request/response schemas - Authentication and rate limiting specifications - Example requests and responses - Error handling documentation - Ready for Swagger UI integration Contributing Guidelines (CONTRIBUTING.md): - Complete contribution workflow - Code style and conventions - Commit message format (Conventional Commits) - Testing requirements - PR process and checklist - Security reporting procedures - Project structure documentation - Areas for contribution - Code of conduct GitHub Templates: - .github/ISSUE_TEMPLATE/bug_report.md - Structured bug reporting template - Environment information checklist - Reproduction steps format - Log collection guidance - .github/ISSUE_TEMPLATE/feature_request.md - Feature proposal template - Use case documentation - Technical feasibility section - Priority and contribution indicators - .github/PULL_REQUEST_TEMPLATE.md - Comprehensive PR checklist - Type of change classification - Testing requirements - Security and performance considerations - Breaking changes documentation - Reviewer guidance Version Control (CHANGELOG.md): - Semantic versioning structure - Complete v1.0.0 release notes - All features documented - Technical stack details - Deployment instructions - Known issues and security notes - Changelog format based on Keep a Changelog - Migration guides section Security Audit (SECURITY_AUDIT.md): - 13-section pre-deployment security checklist - 150+ security verification items - Authentication & authorization - Input validation - Error handling - Data protection - Network security - Smart contract security - Dependencies & supply chain - Code security - Monitoring & alerting - Deployment security - Documentation security - Testing - Final checks - High-risk items highlighted - Security incident response procedures - Regular review schedule - Sign-off certification Performance Monitoring (scripts/performance.ts): - Real-time performance metrics collection - API response time tracking - System resource monitoring (memory, uptime, load) - Performance report generation - Average/min/max response times - Success/failure rates - Uptime tracking - Automated recommendations - Continuous metrics collection mode - Configurable collection intervals - Performance log persistence - Multiple time period reports (1h, 24h, 7d, etc.) Package.json Scripts: - perf: Show current performance metrics - perf:report: Generate performance report - perf:collect: Start continuous metrics collection This adds: ✅ Professional-grade API documentation (OpenAPI/Swagger) ✅ Clear contribution guidelines for open source ✅ Structured GitHub issue/PR templates ✅ Complete version history tracking ✅ Production security audit checklist ✅ Advanced performance monitoring tools The project now has enterprise-level documentation and tooling for open-source collaboration, security, and performance optimization.
76 lines
1.5 KiB
Markdown
76 lines
1.5 KiB
Markdown
---
|
|
name: Bug Report
|
|
about: Create a report to help us improve
|
|
title: '[BUG] '
|
|
labels: bug
|
|
assignees: ''
|
|
---
|
|
|
|
## 🐛 Bug Description
|
|
|
|
A clear and concise description of what the bug is.
|
|
|
|
## 📋 Steps to Reproduce
|
|
|
|
Steps to reproduce the behavior:
|
|
|
|
1. Go to '...'
|
|
2. Click on '....'
|
|
3. Scroll down to '....'
|
|
4. See error
|
|
|
|
## ✅ Expected Behavior
|
|
|
|
A clear and concise description of what you expected to happen.
|
|
|
|
## ❌ Actual Behavior
|
|
|
|
A clear and concise description of what actually happened.
|
|
|
|
## 🖼️ Screenshots
|
|
|
|
If applicable, add screenshots to help explain your problem.
|
|
|
|
## 💻 Environment
|
|
|
|
**Desktop/Server:**
|
|
- OS: [e.g., Ubuntu 22.04, macOS 14.0, Windows 11]
|
|
- Runtime: [e.g., Bun 1.0.0, Node.js 20.0.0]
|
|
- Version: [e.g., v1.0.0]
|
|
- Network: [testnet/mainnet]
|
|
|
|
**Deployment:**
|
|
- [ ] Local development
|
|
- [ ] Docker
|
|
- [ ] VPS/Cloud
|
|
- [ ] Other: ___________
|
|
|
|
## 📝 Logs
|
|
|
|
Please include relevant log files or error messages:
|
|
|
|
```
|
|
Paste error logs here
|
|
```
|
|
|
|
**Log files to check:**
|
|
- `logs/error.log`
|
|
- `logs/combined.log`
|
|
- Docker logs: `docker-compose logs bot`
|
|
|
|
## 🔍 Additional Context
|
|
|
|
Add any other context about the problem here:
|
|
- Did this work before?
|
|
- When did it start happening?
|
|
- Any recent changes?
|
|
- Environment variables configured?
|
|
|
|
## ✓ Checklist
|
|
|
|
- [ ] I have searched existing issues
|
|
- [ ] I have updated to the latest version
|
|
- [ ] I have tested on testnet (if applicable)
|
|
- [ ] I have included error logs
|
|
- [ ] I have provided reproduction steps
|