ipify/backend/README.md
2025-12-23 21:05:31 +02:00

27 lines
473 B
Markdown

# IP Subnet Calculator - Backend
## Setup
1. Create a virtual environment:
```bash
python -m venv venv
```
2. Activate the virtual environment:
- Windows: `venv\Scripts\activate`
- Linux/Mac: `source venv/bin/activate`
3. Install dependencies:
```bash
pip install -r requirements.txt
```
## Run the server
```bash
uvicorn main:app --reload --host 0.0.0.0 --port 8000
```
API will be available at http://localhost:8000
API documentation at http://localhost:8000/docs