Skip to content
SafeStay

SafeStay

Your Safety. Their Accountability.

Created on 14th June 2026

•

SafeStay

SafeStay

Your Safety. Their Accountability.

The problem SafeStay solves

Every year, thousands of Indian students relocate to new cities for college and choose PGs or hostels based on fake reviews, broker promises, and misleading listings. There is no reliable, verified system to assess accommodation safety. Students end up facing food poisoning, water contamination, security threats, poor sanitation, and structural hazards — with no way to warn others.
SafeStay fixes this by letting only verified college students report real safety issues. Every report is verified by 3 AI models before it affects any score. A dynamic SafeStay Safety Index (SSI) is computed per accommodation and displayed on an interactive map — giving students honest, AI-verified safety intelligence before they commit to a place.

Challenges we ran into

Our biggest challenge was building a reliable AI verification pipeline under time pressure. We initially used 2 models (Mistral + Groq) but one would occasionally fail under free-tier rate limits, killing the entire pipeline. We switched to Promise.allSettled with a 2-of-3 consensus system across Mistral Pixtral 12B, Groq Llama 3.3 70B, and Gemini Flash — so even if one model fails, the verdict still goes through.
The second challenge was team environment setup. MongoDB Atlas was only connecting successfully on one team member's machine — others were getting connection refused errors due to IP whitelist restrictions on the Atlas cluster. We fixed this by whitelisting 0.0.0.0/0 for development and sharing a single Atlas URI across the team.
Cloudinary API keys were also causing silent failures — image uploads were returning 401s without clear error messages. We traced it to mismatched environment variable names across team members' .env files and standardised them with a shared .env.example.
Permission issues on shared routes and middleware were blocking team members from testing their own features — admin and owner middleware was rejecting valid tokens due to role field mismatches in the JWT payload. We fixed this by aligning the token signing payload across all auth routes and documenting the exact shape expected by each middleware.

Tracks Applied (4)

Gemini

Gemini Flash is the third model in our AI verification pipeline. It runs in parallel with Mistral and Groq via Promise.a...Read More
Major League Hacking

Major League Hacking

MongoDB

MongoDB Atlas stores all users, reports, accommodations, OTPs, and verification results. The SSI computation uses aggreg...Read More
Major League Hacking

Major League Hacking

Sarvam.ai

Sarvam AI powers real-time translation for safety report summaries and SSI explanations into Telugu and Hindi, making th...Read More
Sarvam.ai

Sarvam.ai

Sustainable Development

SafeStay creates measurable social impact by giving India's 35+ million college students access to community-verified, A...Read More

HackPrix

Discussion

Builders also viewed

See more projects on Devfolio