An application for providing travelers with real-time neighborhood safety ratings and local safety news alerts.
-
Clone and install
git clone https://github.com/parunchxi/dangerless.git cd dangerless npm install -
Set up environment
cp .env.example .env.local
Add your Supabase credentials to
.env.local:NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY=your_supabase_anon_key
-
Start development
npm run dev
- 🗺️ Real-time Safety Map - Interactive map with red zone overlays
- 🔐 Google OAuth Authentication - Secure user authentication
- 📢 Community Alerts - Local safety news and reports
- 📊 Historical Analysis - Safety trend analysis over time
- 🏠 Neighborhood Monitoring - Area-specific safety ratings
- Frontend: Next.js 14, TypeScript, Tailwind CSS
- Backend: Supabase (PostgreSQL + PostGIS)
- Authentication: Supabase Auth with Google OAuth
- UI Components: shadcn/ui
- Deployment: Vercel
npm run dev # Start development server
npm run build # Build for production
npm run lint # Run ESLint
npm run type-check # TypeScript type checkingapp/
├── page.tsx # Landing page
├── dashboard/ # Main application
├── protected/ # User area
└── auth/ # Authentication
components/
├── auth-button.tsx # Authentication
├── hero.tsx # Landing hero
└── ui/ # UI components
lib/
├── supabase/ # Database client
└── utils.ts # Utilities
- Fork the repository
- Create a feature branch
- Make your changes
- Run
npm run lintandnpm run type-check - Submit a pull request