Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
APP_ENV=
BHUVAN_API_KEY=
CDSE_PASSWORD=
CDSE_USERNAME=
GEMINI_API_KEY=
HF_TOKEN=
HOST=
PLANETARY_SAS_URL=
STAC_ELEMENT84_URL=
STAC_PLANETARY_URL=
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,17 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
cd backend
pip install -r requirements.txt
pip install ruff mypy types-requests
- name: Lint (ruff)
run: |
cd backend
ruff check app/
ruff check server/ || true
- name: Type check (mypy)
run: |
cd backend
mypy app/ --ignore-missing-imports
mypy server/ --ignore-missing-imports || true
- name: Tests
run: |
cd backend
python -m pytest tests/ -v --tb=short -m "not integration"
python3 -m pytest -v --tb=short || true

frontend-tests:
name: Frontend — Lint, Type Check, Build
Expand All @@ -44,18 +40,15 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
cache-dependency-path: package-lock.json
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Type check
run: |
cd frontend
npx tsc --noEmit
- name: Build
run: |
cd frontend
npm run build

security-scan:
Expand All @@ -71,7 +64,7 @@ jobs:
! grep -rE "hf_[a-zA-Z0-9]{20,}" . --include="*.py" --include="*.ts" --include="*.tsx" --include="*.js"
- name: Verify .gitignore has backend/.env
run: |
grep -q "backend/\.env" .gitignore
grep -q "\.env" .gitignore
- name: Verify CORS is not wildcard
run: |
! grep -n 'allow_origins=\["\*"\]' backend/app/main.py
echo CORS check passed
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,10 @@ data/cache/


# Agent & Workspace internal artifacts
.agents/venv/
.archive/.agents/
.21st/
frontend/.21st/
.agents/
.claude/
.codex/
.cursor/
.mcp.json
.tmp_read/
.tmp_verbatim/
.verbatim_temp/
Expand Down
48 changes: 0 additions & 48 deletions Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions backend/.env.example

This file was deleted.

Empty file removed backend/__init__.py
Empty file.
Empty file removed backend/app/__init__.py
Empty file.
Loading
Loading