diff options
Diffstat (limited to 'test_health.py')
| -rw-r--r-- | test_health.py | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/test_health.py b/test_health.py new file mode 100644 index 0000000..23ac584 --- /dev/null +++ b/test_health.py @@ -0,0 +1,61 @@ + +# Secure P2P Chat Application + +A secure P2P chat application with advanced mesh networking capabilities, designed for resilient and private communication. + +## Key Features +- Mesh Networking Protocol +- Tor Integration +- Distributed Hash Table (DHT) +- Secure Communication Channels +- Health Monitoring Services + +## Project Structure +``` +. +├── network/ +│ ├── __init__.py +│ ├── mesh.py +│ └── tor_manager.py +├── security/ +│ ├── __init__.py +│ ├── crypto.py +│ └── memory.py +├── ui/ +│ ├── __init__.py +│ └── chat_window.py +├── mesh_chat.py +├── test_health.py +└── libraries.html +``` + +## Required Dependencies +```python +# Install using pip +aiohttp +kademlia +pynacl +pysocks +pyspx +zstandard +``` + +## Running the Application +1. Install dependencies: +```bash +pip install aiohttp kademlia pynacl pysocks pyspx zstandard +``` + +2. Start the application: +```bash +python mesh_chat.py +``` + +3. Test health check: +```bash +python test_health.py +``` + +## Testing +- HTTP Health Check: Visit http://localhost:12345 +- Health Status: Visit http://localhost:12345/health |
