Skip to content

Commit bfeaf85

Browse files
committed
Added globe 3d viewer UI
1 parent a010516 commit bfeaf85

98 files changed

Lines changed: 34621 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MapTiler API Key for basemap tiles
2+
# Get your free key at https://cloud.maptiler.com/account/keys/
3+
VITE_MAPTILER_API_KEY=your_api_key_here

.github/workflows/ci.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
backend-tests:
11+
name: Backend Tests
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
cache: 'pip'
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
27+
28+
- name: Run tests
29+
run: |
30+
python -m pytest tests/ -v --tb=short -m "not integration and not e2e" \
31+
--cov=server --cov-report=xml
32+
33+
- name: Upload coverage
34+
uses: codecov/codecov-action@v4
35+
with:
36+
files: ./coverage.xml
37+
fail_ci_if_error: false
38+
continue-on-error: true
39+
40+
frontend-lint:
41+
name: Frontend Lint & Build
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- uses: actions/checkout@v4
46+
47+
- name: Set up Node.js
48+
uses: actions/setup-node@v4
49+
with:
50+
node-version: '20'
51+
cache: 'npm'
52+
53+
- name: Install dependencies
54+
run: npm ci
55+
56+
- name: Run linter
57+
run: npm run lint
58+
59+
- name: Type check & build
60+
run: npm run build

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
# Node / Vite
11+
node_modules/
12+
dist/
13+
.vite/
14+
15+
# Env files (keep examples)
16+
.env
17+
.env.*
18+
!.env.example
19+
20+
# TypeScript build info
21+
*.tsbuildinfo
22+
23+
# Python
24+
.venv/
25+
__pycache__/
26+
*.py[cod]
27+
.pytest_cache/
28+
29+
# Server data (COGs, Zarr, samples)
30+
server/products/
31+
server/zarr/
32+
server/sample_data/
33+
server/tiles/
34+
server/cache/
35+
36+
# STAC catalog output (keep catalog.py code, ignore generated JSON)
37+
server/stac/catalog.json
38+
server/stac/collections/
39+
server/stac/items/
40+
*.tif
41+
*.nc
42+
*.zarr/
43+
44+
# SSH keys
45+
infra/keys/
46+
47+
# Jupyter
48+
.ipynb_checkpoints/
49+
50+
# OS / Editor
51+
.DS_Store
52+
Thumbs.db
53+
.idea/
54+
.vscode/

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

0 commit comments

Comments
 (0)