30 lines
514 B
Markdown
30 lines
514 B
Markdown
# Tasko Backend
|
|
|
|
FastAPI backend for task management application.
|
|
|
|
## Setup
|
|
|
|
1. Create a virtual environment:
|
|
```bash
|
|
python -m venv venv
|
|
source venv/bin/activate # On Windows: venv\Scripts\activate
|
|
```
|
|
|
|
2. Install dependencies:
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
3. Run the server:
|
|
```bash
|
|
python main.py
|
|
```
|
|
|
|
Or using uvicorn directly:
|
|
```bash
|
|
uvicorn main:app --reload --host 0.0.0.0 --port 8000
|
|
```
|
|
|
|
The API will be available at http://localhost:8000
|
|
API documentation at http://localhost:8000/docs
|