Skip to content

Merged all 5 microservices into unified backend architecture - #8

Open
ramyabhat-svg wants to merge 27 commits into
mainfrom
unified-backend
Open

Merged all 5 microservices into unified backend architecture #8
ramyabhat-svg wants to merge 27 commits into
mainfrom
unified-backend

Conversation

@ramyabhat-svg

Copy link
Copy Markdown
Collaborator

Integrated all backend microservices into a unified FastAPI backend.

Changes:

  • Created unified backend/app architecture
  • Consolidated routers from all team modules
  • Combined requirements.txt and removed duplicates
  • Added centralized Firebase config
  • Updated frontend API ports to 8000
  • Verified all endpoints via Swagger at /docs

Legacy folders (aditya, rohan, aparna, anirudha, judging) are preserved as backup.

ramyabhat-svg and others added 27 commits March 7, 2026 14:39
Backend:
- backend/app/routers/announcements.py: NEW - full announcements CRUD
  GET /api/announcements/, POST /api/announcements/, DELETE /api/announcements/{id}
  with role/track targeting (all, AI, Web, Blockchain, Open Innovation)
- backend/app/routers/phases.py: UPGRADED - added POST / (create phase)
  DELETE /{phase_id} endpoints + PhaseCreate model
- backend/app/main.py: registered announcements router under /api/announcements

Frontend:
- frontend/src/lib/api/set-b.ts: NEW - typed API client using
  unified /api/phases and /api/announcements paths (no port override needed)
- frontend admin/phases/page.tsx: replaced raw fetch with clean setBApi calls
- frontend admin/announcements/page.tsx: replaced setDApi with setBApi

Verified: all endpoints respond correctly, Swagger docs confirm all routes.
…min API routes, and remove isolated anirudha/ backend
…th flow

- Add volunteer reimbursement submission page with base64 receipt storage
- Fix OAuth login identity conflict (email-based profile fallback in verify-token)
- Handle 409 conflicts gracefully in OAuth login flow
- Add backend receipt upload endpoint (for future Firebase Storage use)
- Fix fetchApi to handle FormData uploads correctly
- Add Firebase Storage support to firebase_config.py
- Clean up debug instrumentation from auth endpoints
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.

7 participants