Skip to content
Subhadip Saha edited this page May 15, 2025 · 1 revision

Welcome to the CodeNearby Wiki

CodeNearby is a developer-focused social networking platform designed to help you find collaborators, build projects, and grow your tech network. This wiki serves as a living knowledge base to guide development, contribution, and collaboration.


Project Structure Overview

Here’s a high-level breakdown of the directory structure to help you locate components, APIs, and configurations quickly.

πŸ“ .github/

Contains GitHub-specific project configurations:

  • ISSUE_TEMPLATE/

    • bug_report.md
    • docs-feedback.md
    • feature_request.md
    • performance-issue.md
    • ui-suggestion.md
  • FUNDING.yml

  • PULL_REQUEST_TEMPLATE.md

πŸ“ .husky/

  • Contains Git hook scripts (e.g. pre-push) for automation like changelog generation.

πŸ“ app/

Houses Next.js 14 App Router structure with routes, API endpoints, and pages.

  • API routes under /api/:

    • auth, developers, gathering, posts, profile, etc.
  • Feature routes:

    • ai-connect, feed, explore, messages, onboarding, gathering, invite, profile, etc.
  • Static content:

    • privacy, terms, about, etc.
  • Shared layout files: layout.tsx, globals.css

πŸ“ components/

Modular and reusable React components categorized by domain:

  • home/, magicui/, ui/, onboarding/, reactbits/
  • Shared UI: alerts, buttons, popovers, tooltips, cards, etc.
  • Advanced widgets: AI chat, polls, location sharing, developer grids

πŸ“ consts/, hooks/, lib/, utils/

  • Constants (faq, changelog, basic app values)
  • Custom hooks (e.g. use-auto-scroll)
  • Utility functions for Redis, Firebase, MongoDB, AI, etc.

πŸ“ types/

TypeScript type definitions (next-auth, votes, global types)

πŸ“ public/

Static assets used throughout the app: logos, icons, images


Documentation Index


Core Features

  • AI-assisted dev matching
  • GitHub-powered profiles
  • Realtime chat & activity feed
  • Virtual gatherings & polls
  • Firebase notifications
  • Cloudinary image storage
  • Redis caching for speed

Deployment & Environment

All .env configuration is documented in the root README.md. Refer to .env.example for initial setup.


Contribution Workflow


Get Started

To clone and run locally:

git clone https://github.com/subh05sus/codenearby.git
cd codenearby
npm install
cp .env.example .env.local
npm run dev

Licensing

This project is licensed under MIT License. See details inside.

Clone this wiki locally