Skip to content

Commit 736bef3

Browse files
author
Lasim
committed
feat: add user teams management in UserDetail.vue and implement related API tests
- Enhanced UserDetail.vue to fetch and display user teams, including loading and error states. - Introduced new interfaces for Team and TeamsResponse to structure team data. - Added API endpoint to fetch user teams and integrated it into the user detail view. - Created end-to-end tests for admin user access to their own and other users' teams. - Implemented unit tests for role middleware to ensure proper permission checks and error handling.
1 parent acf8caa commit 736bef3

30 files changed

+2077
-4256
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,18 @@ deploystack.db
5757
services/backend/persistent_data/*
5858

5959
# Test files
60-
services/backend/tests/.test-context.json
60+
.test-context.json
6161
services/backend/tests/e2e/test-data/*.db
6262

6363
._*.ts
6464
._*.vue
6565
._*.md
6666
._*.js
6767
._*.json
68+
._*.js
69+
._*.png
70+
._*.webp
71+
._*.jpg
6872
cookies.txt
6973
cookiejar.txt
70-
services/backend/tests/e2e/.test-context.json
7174
cookie.txt

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@
66

77
DeployStack is an open-source CI/CD platform specifically built for MCP (Model Context Protocol) servers. Think of us as the infrastructure layer that makes MCP server deployment as simple as using n8n for automations - you select your MCP server, configure credentials, choose your target platform, and we handle all the complex deployment work behind the scenes.
88

9+
## 🚀 Quick Start
10+
11+
Get DeployStack running locally in 2 commands:
12+
13+
```bash
14+
curl -o docker-compose.yml https://raw.githubusercontent.com/deploystackio/deploystack/main/docker-compose.yml
15+
DEPLOYSTACK_ENCRYPTION_SECRET=$(openssl rand -hex 16) docker-compose up -d
16+
```
17+
18+
Access DeployStack at [http://localhost:8080](http://localhost:8080)
19+
20+
> **Note**: You'll need Docker and Docker Compose installed. For detailed setup instructions, see our [Self-Hosted Documentation](https://deploystack.io/docs/deploystack/self-hosted).
21+
922
## What Makes DeployStack Different
1023

1124
- **MCP-Native CI/CD**: Purpose-built for MCP server lifecycle management, not adapted from general deployment tools

docker-compose.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
version: '3.8'
2+
3+
services:
4+
backend:
5+
image: deploystack/backend:latest
6+
container_name: deploystack-backend
7+
ports:
8+
- "3000:3000"
9+
environment:
10+
- NODE_ENV=production
11+
- PORT=3000
12+
- DEPLOYSTACK_FRONTEND_URL=http://localhost:8080
13+
- DEPLOYSTACK_ENCRYPTION_SECRET=${DEPLOYSTACK_ENCRYPTION_SECRET}
14+
volumes:
15+
- deploystack_backend_persistent:/app/persistent_data
16+
networks:
17+
- deploystack-network
18+
restart: unless-stopped
19+
healthcheck:
20+
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
21+
interval: 30s
22+
timeout: 10s
23+
retries: 3
24+
start_period: 40s
25+
26+
frontend:
27+
image: deploystack/frontend:latest
28+
container_name: deploystack-frontend
29+
ports:
30+
- "8080:80"
31+
environment:
32+
- VITE_DEPLOYSTACK_BACKEND_URL=http://localhost:3000
33+
- VITE_APP_TITLE=DeployStack
34+
networks:
35+
- deploystack-network
36+
restart: unless-stopped
37+
depends_on:
38+
backend:
39+
condition: service_healthy
40+
41+
volumes:
42+
deploystack_backend_persistent:
43+
driver: local
44+
45+
networks:
46+
deploystack-network:
47+
driver: bridge

0 commit comments

Comments
 (0)