File size: 926 Bytes
21f7e8d
 
 
 
 
 
 
 
 
 
 
4e9eb6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: DeployMate Backend API
emoji: 🚀
colorFrom: indigo
colorTo: blue
sdk: docker
sdk_version: "0.104.1"
app_file: app.py
pinned: false
---
DeployMate Backend

This is the backend service for DeployMate, built with FastAPI.

## Features
- RESTful API with FastAPI
- Automated testing, linting, and type checking via GitHub Actions
- Docker support for containerized deployment

## Development

### Setup
1. Create and activate a virtual environment:
   ```bash
   python3 -m venv venv
   source venv/bin/activate
   ```
2. Install dependencies:
   ```bash
   pip install -e .[dev]
   ```
3. Run the development server:
   ```bash
   uvicorn app.main:app --reload
   ```

### Testing
Run all tests:
```bash
pytest
```

### Linting & Type Checking
```bash
flake8 app/ tests/
mypy app/
```

### Docker
Build and run with Docker:
```bash
docker build -t deploymate-backend .
docker run -p 8000:8000 deploymate-backend
```