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
18 changes: 18 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Global owners
* @mr-adonis-jimenez

# Frontend code
/frontend/** @mr-adonis-jimenez

# Backend API
/api/** @mr-adonis-jimenez

# Infrastructure
/terraform/** @mr-adonis-jimenez
/.github/** @mr-adonis-jimenez

# Documentation
/docs/** @mr-adonis-jimenez

# Critical security files
/auth/** @mr-adonis-jimenez
18 changes: 0 additions & 18 deletions CODEOWNERS.md

This file was deleted.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

### Enable repository git hooks (recommended)

This repo includes a `pre-push` hook to prevent direct pushes to the protected `master` branch.
This repo includes a `pre-push` hook to prevent direct pushes to the protected `main` branch.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Correct protected branch name in hook guidance

The updated docs now state that the local pre-push hook blocks pushes to main, but scripts/git-hooks/pre-push still hard-codes refs/heads/master. In this state, contributors who follow CONTRIBUTING.md can still push directly to main, so the branch-protection guidance is inaccurate and creates a false sense of enforcement.

Useful? React with 👍 / 👎.


1. Configure git to use the repos hook directory:
1. Configure git to use the repo's hook directory:

`git config core.hooksPath scripts/git-hooks`

2. Ensure the hook is executable:

`chmod +x scripts/git-hooks/pre-push`

After that, any attempt to `git push` updates directly to `master` will be blocked locally.
After that, any attempt to `git push` updates directly to `main` will be blocked locally.

## Code Style
## Testing
Expand Down
13 changes: 0 additions & 13 deletions GitHub/dependabot.yml

This file was deleted.

13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
## Release Pipeline

- ✔ OIDC-based npm publishing (no secrets)
- ✔ OIDC-based publishing (no secrets)
- ✔ Verified supply-chain provenance
- ✔ Automated quality gates (lint, test, audit)
- ✔ Reusable CI workflows

## Contributing / Branch protection

Direct pushes to `master` should be avoided. See `CONTRIBUTING.md` to enable the repos `pre-push` hook that blocks direct pushes to `master` locally.
Direct pushes to `main` should be avoided. See `CONTRIBUTING.md` to enable the repo's `pre-push` hook that blocks direct pushes to `main` locally.

## Release & Security Architecture
## Release & Security Architecture

- Monorepo publishing with npm workspaces
- OIDC-based trusted publishing (no secrets)
- Canary & RC release channels
- SBOM generation (CycloneDX)
Expand All @@ -20,9 +19,8 @@ Direct pushes to `master` should be avoided. See `CONTRIBUTING.md` to enable the

This pipeline enforces supply-chain integrity and production-grade quality gates.


![npm](https://img.shields.io/npm/v/your-package)
![CI](https://github.com/you/repo/actions/workflows/npm-publish.yml/badge.svg)
![CI](https://github.com/mr-adonis-jimenez/geo-analytics-api/actions/workflows/ci-cd.yml/badge.svg)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

# 🌎 Geo-Analytics API/Dashboard

Expand Down Expand Up @@ -113,4 +111,3 @@ curl -s -X POST "http://localhost:8000/api/datasets/json?name=my-dataset" \
curl -s -X POST "http://localhost:8000/api/datasets/csv?name=my-csv" \
-F "file=@regional_data.csv" | jq
```

14 changes: 12 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Core
fastapi
uvicorn
uvicorn[standard]
pandas
pytest
numpy
python-multipart

# Dev / testing
pytest
pytest-cov
pytest-asyncio
httpx
black
flake8
isort
pylint
Loading