S
stax_backend_api
Project ID: 71
-
Aryan Noshirvnai authored
Full replacement of the major/community tiers and propose+vote mechanism with: any user drops a song at their current location (24h TTL via a read-time cutoff filter, clustered within 25m via union-find at query time), and businesses become persistent, playlist-owning soundmarks only through a self-service application a super admin approves - replacing the old admin-picks-an-existing-owner flow entirely. - Soundmark splits into two tables: soundmarks (business-only now, owner required) and the new SoundmarkDrop/BusinessApplication. - SoundmarkProposal/SoundmarkProposalVote retired outright. - New endpoints: POST /drop, POST/GET /business-applications(/mine), approve/reject. /nearby now returns {businesses, drop_clusters}. - Migration wipes existing major/community rows (kept business ones, per the user's explicit direction), tightens business_owner_id to NOT NULL - verified both directions against a scratch DB copy. - tests/test_soundmarks.py rewritten for the new shape; full backend suite green (506 passed).
| Name |
Last commit
|
Last update |
|---|---|---|
| alembic | ||
| deploy | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Dockerfile | ||
| README.md | ||
| alembic.ini | ||
| changes.md | ||
| docker-compose.yml | ||
| requirements-remix.txt | ||
| requirements.txt | ||
| setup.sh |