Skip to content

feat: Visionallity API management gateway (visionai2026pro) - #1

Draft
LincolnNE wants to merge 1 commit into
mainfrom
cursor/visionallity-api-mgmt-120e
Draft

feat: Visionallity API management gateway (visionai2026pro)#1
LincolnNE wants to merge 1 commit into
mainfrom
cursor/visionallity-api-mgmt-120e

Conversation

@LincolnNE

Copy link
Copy Markdown
Owner

Summary

Introduces visionallity, a FastAPI gateway for the visionai2026pro product with centralized API key management, admin routes, per-key rate limiting, usage logging, dual storage (SQLite default, optional Firestore), key hashing with pepper, rotation/revocation/cleanup, backup and migration helpers, Docker/compose for local deployment, architecture documentation (including OpenAPI via /visionallity/docs on the sub-app), and e2e tests.

How to run

  • Local: python main.py visionallity (default port 8090, mount /visionallity)
  • Docker: docker compose up --build (persists /data volume)
  • First admin: set VISIONALLITY_BOOTSTRAP_TOKEN, then POST /visionallity/admin/bootstrap

Tests

  • pytest tests/test_visionallity_e2e.py

Notes

  • Adds slowapi, redis, httpx, pytest to config/requirements.txt.
  • Existing src/middleware/security.py now respects REDIS_URL when set.
Open in Web Open in Cursor 

Add visionallity FastAPI sub-app with hashed API keys, role/permission
scopes, SQLite default and optional Firestore storage, admin routes for
users/keys/lifecycle, per-key rate limiting and usage logging, backup and
migration hooks, Docker/compose for local deployment, documentation, and
e2e tests for auth isolation and rate limits.

Co-authored-by: G.gear service 𝚫 team <LincolnNE@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants