DEV Community

Raymond
Raymond Subscriber

Posted on • Edited on

NeighborHub โ€” A Lightweight Community Board (DEV Weekend Challenge)

DEV Weekend Challenge: Community

๐Ÿ˜๏ธ NeighborHub โ€” A Lightweight Community Board

This is a submission for the DEV Weekend Challenge: Community

NeighborHub Cover Image


๐ŸŒŸ The Community

NeighborHub was built for tight-knit neighborhood groups โ€“ whether it's a residential block, apartment complex, or small town district โ€“ who want to stay connected and support each other without relying on corporate social networks. The community members range from young families and retirees to professionals and local volunteers, all seeking a safer, more personal way to:

  • Share hyperlocal news and announcements
  • Organize neighborhood events and gatherings
  • Lend/borrow tools and resources
  • Request and offer mutual aid (rides, babysitting, moving help, etc.)
  • Build a directory of neighbors and their skills/interests
  • Report and track lost or found items

The platform prioritizes trust and safety by requiring Google authentication and enabling admins to moderate content and enforce community guidelines.


๐Ÿš€ What I Built

NeighborHub is a real-time, community-driven web application that serves as a digital town square for neighbors. Built with vanilla JavaScript, Firebase (Auth + Firestore), and deployed to Vercel, it features:

  • ๐Ÿ“ข Community Board โ€“ Post announcements, discussions, and alerts with emoji-tagged categories
  • ๐Ÿ“… Events โ€“ Create and discover upcoming neighborhood gatherings
  • ๐Ÿ”ง Tool Library โ€“ Share and request tools/equipment by category
  • ๐Ÿค Mutual Aid Network โ€“ Post help requests and offers with urgency levels
  • ๐Ÿ“ Directory โ€“ Browse neighbors and their skills in an interactive map-like card view
  • ๐Ÿ”Ž Lost & Found โ€“ Report missing or found items with descriptions
  • โš™๏ธ Admin Moderation Panel โ€“ Review reported content and maintain community standards
  • ๐Ÿ”” Notifications โ€“ Stay updated on replies and interactions

The app prioritizes offline-first design, secure authentication, and a clean, emoji-rich interface that feels welcoming and accessible to all ages.


๐ŸŒ Demo

Live App:

๐Ÿ‘‰ https://neighborhub.vercel.app/

Source Code:

๐Ÿ‘‰ https://github.com/CodeExplorerRay/NeighborHub


๐Ÿ“ธ Screenshots

๐Ÿงต Board

Board

๐Ÿ“‡ Directory

Directory

๐Ÿ“… Events

Events

๐Ÿ” Lost & Found

Lost & Found

๐Ÿค Mutual Aid

Mutual Aid

๐Ÿ› ๏ธ Tools

Tools


๐Ÿงฉ Code Structure

The full source is available on GitHub.

Key Files

Frontend

  • index.html
  • style.css
  • app.js

Firebase

  • firebase-init.js
  • firestore.rules

Local Development

  • server.js (Express server for local testing)
  • db.json (mock database for development)

๐Ÿ—๏ธ How I Built It

Frontend

Vanilla JavaScript (no framework)

Chosen for:

  • Small footprint
  • Full ownership
  • Minimal maintenance overhead

Backend / Database

  • Firebase Authentication
  • Firestore (Client SDK)
  • Comments stored as subcollections under posts

Hosting

  • Static deployment via Vercel

Local Development

  • Lightweight Express server
  • Serves /public
  • Uses mock JSON when needed

Deployment Notes

  • Deploy the public directory to Vercel or Firebase Hosting
  • Firestore rules must be deployed via Firebase Console or CLI

โš™๏ธ Challenges & Decisions

1๏ธโƒฃ Framework-less UI

Reduced bundle size and long-term maintenance complexity.

2๏ธโƒฃ Firestore Security

Carefully structured rules:

  • Public reads allowed
  • Writes protected
  • Reports secured
  • Admin access gated by UID (client + rules)

3๏ธโƒฃ Vercel Static Deployment

Required:

  • Correct vercel.json
  • Proper .vercelignore
  • Accurate public directory configuration

๐Ÿ”ฎ Whatโ€™s Next

  • ๐Ÿ“ Distance filtering
  • ๐Ÿ—“๏ธ Neighborhood-based scheduling (e.g., trash pickup)
  • ๐Ÿšจ Modal-based reporting system
  • ๐Ÿ‘ฎ Expanded moderation tools (ban, mute, restore)
  • ๐Ÿ“ฉ Email / push alerts for high-priority reports

๐Ÿ™Œ Credits

Built solo by @codeexplorerray.

Thanks to the DEV Weekend Challenge organizers for the prompt and inspiration.


If you'd like feedback, ideas, or want to collaborate on improving hyperlocal digital tools, Iโ€™d love to connect.

Top comments (0)