Spaces:
Running on Zero

File size: 2,039 Bytes
2eef5d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "preferences": {
    "frontend": {
      "framework": "react",
      "version": "19",
      "language": "typescript",
      "styling": "tailwindcss-v4",
      "state": "tanstack-query",
      "routing": "tanstack-router",
      "ui": "shadcn",
      "bundler": "vite-8",
      "packageManager": "bun"
    },
    "mobile": {
      "framework": "react-native",
      "platform": "expo-54",
      "navigation": "react-navigation",
      "state": "tanstack-query",
      "fonts": "noto-sans-lao"
    },
    "backend": {
      "language": "python",
      "framework": "fastapi",
      "server": "uvicorn",
      "auth": "jwt",
      "validation": "pydantic",
      "deployment": "huggingface-spaces"
    },
    "database": {
      "primary": "postgresql-16",
      "dev": "sqlite",
      "cache": "redis-7"
    },
    "devops": {
      "container": "docker",
      "orchestration": "kubernetes",
      "iac": "terraform",
      "cloud": "aws-ap-southeast-1",
      "hosting": "huggingface-spaces"
    },
    "shared": {
      "types": "packages/shared/types",
      "validators": "packages/shared/validators",
      "constants": "packages/shared/constants",
      "config": "packages/shared/config"
    }
  },
  "standards": {
    "typescript": {
      "strict": true,
      "format": "prettier",
      "lint": "eslint",
      "typeCheck": "tsc --noEmit",
      "rules": "consistent-type-imports, no-floating-promises, prefer-nullish-coalescing"
    },
    "python": {
      "format": "ruff format",
      "lint": "ruff check",
      "lineLength": 80,
      "targetVersion": "py312",
      "rules": "type-hints-required, snake_case, specific-exceptions-only"
    }
  },
  "qualityCommands": {
    "python": "ruff format . && ruff check .",
    "typescript": "bun run typecheck && bun run lint",
    "all": "ruff format . && ruff check . && cd apps/web && bun run check"
  },
  "templates": {
    "api": "app.py",
    "web": "apps/web",
    "mobile": "apps/mobile",
    "auth": "services/auth-service",
    "shared": "packages/shared"
  }
}