How jpjp19/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club works
WasteConnect is a two-sided recycling marketplace: waste generators submit listings, AI helps characterize and check them, suitable recyclers are matched and bid, and users compare offers before choosing a recycler and tracking pickup and completion. The backend is the only application source shown in the tree; README capabilities fill in some workflow stages, while the frontend implementation is not present. Source excerpts and the index support the listed backend wiring, but unsampled router internals limit certainty about some detailed interactions.
Main entry points: main.py FastAPI application · listings.py Listing workflow · gemma_client.py Gemma client · transactions.py Pickup transactions
Components 23
API and identity
- FastAPI application
Hacktoberfest/wasteconnect/backend/app/main.py - Authentication routes
Hacktoberfest/wasteconnect/backend/app/routers/auth.py - Identity and access
Hacktoberfest/wasteconnect/backend/app/auth/auth.py - Administration
Hacktoberfest/wasteconnect/backend/app/routers/admin.py - API schemas
Hacktoberfest/wasteconnect/backend/app/schemas
Marketplace workflows
- Listing workflow
Hacktoberfest/wasteconnect/backend/app/routers/listings.py - Recycler profiles
Hacktoberfest/wasteconnect/backend/app/routers/recyclers.py - Competitive bids
Hacktoberfest/wasteconnect/backend/app/routers/bids.py - Pickup transactions
Hacktoberfest/wasteconnect/backend/app/routers/transactions.py - Notifications
Hacktoberfest/wasteconnect/backend/app/routers/notifications.py
AI intelligence
- Recycler matching
Hacktoberfest/wasteconnect/backend/app/services/matching_service.py - Offer analysis
Hacktoberfest/wasteconnect/backend/app/services/bid_analysis_service.py - Semantic embeddings
Hacktoberfest/wasteconnect/backend/app/services/embedding_service.py - Gemma client
Hacktoberfest/wasteconnect/backend/app/services/gemma_client.py - AI prompts
Hacktoberfest/wasteconnect/backend/app/services/prompts.py
Data and setup
- Database session
Hacktoberfest/wasteconnect/backend/app/database.py - Marketplace records
Hacktoberfest/wasteconnect/backend/app/models/models.py - Relational database
- Runtime configuration
Hacktoberfest/wasteconnect/backend/app/config.py - Seed data
Hacktoberfest/wasteconnect/backend/seed/seed.py
Other components
- Waste generator
- Recycler
- Gemma provider
Connections 31
- Waste generator → FastAPI application: uses marketplace
README.md - Recycler → FastAPI application: uses marketplace
README.md - FastAPI application → Database session: creates tables
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Authentication routes: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Listing workflow: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Competitive bids: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Recycler profiles: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Pickup transactions: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Notifications: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - FastAPI application → Administration: routes requests
Hacktoberfest/wasteconnect/backend/app/main.py - Authentication routes → Identity and access: uses identity
Hacktoberfest/wasteconnect/backend/app/routers/auth.py - Listing workflow → Gemma client: analyzes listings
Hacktoberfest/wasteconnect/backend/app/routers/listings.py - Listing workflow → Recycler matching: requests matches
Hacktoberfest/wasteconnect/backend/app/routers/listings.py - Listing workflow → Offer analysis: analyzes bids
Hacktoberfest/wasteconnect/backend/app/routers/listings.py - Recycler profiles → Recycler matching: uses matching
Hacktoberfest/wasteconnect/backend/app/routers/recyclers.py - Offer analysis → Gemma client: requests analysis
Hacktoberfest/wasteconnect/backend/app/services/bid_analysis_service.py - Recycler matching → Semantic embeddings: scores similarity
Hacktoberfest/wasteconnect/backend/app/services/matching_service.py - Recycler matching → Gemma client: reranks candidates
Hacktoberfest/wasteconnect/backend/app/services/matching_service.py - Gemma client → Gemma provider: calls provider
Hacktoberfest/wasteconnect/backend/app/services/gemma_client.py - Database session → Marketplace records: registers models
Hacktoberfest/wasteconnect/backend/app/database.py - Database session → Relational database: opens sessions
- Runtime configuration → Database session: configures connection
Hacktoberfest/wasteconnect/backend/app/database.py - Gemma client → Runtime configuration: reads settings
Hacktoberfest/wasteconnect/backend/app/services/gemma_client.py - Administration → Seed data: invokes seeding
Hacktoberfest/wasteconnect/backend/app/routers/admin.py - Listing workflow → API schemas: uses contracts
Hacktoberfest/wasteconnect/backend/app/routers/listings.py - Competitive bids → API schemas: uses contracts
Hacktoberfest/wasteconnect/backend/app/routers/bids.py - Pickup transactions → API schemas: uses contracts
Hacktoberfest/wasteconnect/backend/app/routers/transactions.py - Pickup transactions → Notifications: notifies parties
- Waste generator → Listing workflow: submits waste
README.md - Recycler → Competitive bids: submits offers
README.md - Waste generator → Pickup transactions: selects recycler
README.md