MCPcopy Index your code
hub / github.com/Broccoli-CTO/BroccoliNGO-Dapp

github.com/Broccoli-CTO/BroccoliNGO-Dapp @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
358 symbols 953 edges 135 files 5 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🥦 BroccoliNGO Dapp

Broccoli Banner

Website License

BroccoliNGO is an open-source decentralized application (dApp) built on BNB Chain, initiated by the Broccoli CTO Community. Our mission is to revolutionize charity and pet rescue efforts by leveraging blockchain’s transparency, ensuring every donation is verifiable on-chain.

As a community-led project, we invite developers and community members to collaborate in building a future where charity is truly transparent and impactful.

Visit our website: https://www.broccoli.ngo/

About Broccoli

Broccoli is a community-driven memecoin on BNB Smart Chain, inspired by CZ’s beloved dog, Broccoli. More than just a token, the Broccoli ecosystem champions real-world utility, with BroccoliNGO being a key initiative to merge blockchain innovation with social good.

CA: 0x6d5AD1592ed9D6D1dF9b93c793AB759573Ed6714

Project Structure

The BroccoliNGO Dapp is built using Next.js and follows a modern React application structure:

BroccoliNGO_Dapp/
├── app/                    # Next.js app directory (App Router)
│   ├── api/                # API routes for server-side functionality
│   └── [...routes]/        # Page routes and components
├── components/             # Reusable React components
├── public/                 # Static files (images, fonts, etc.)
├── hooks/                  # React hooks
├── shared/                 # Shared utilities and constants
│   ├── constant.ts         # Application constants
│   ├── server/             # Server-side utilities
│   │   ├── jwt.ts          # JWT authentication
│   │   ├── redis.ts        # Redis client/mock
│   │   └── twitter.ts      # Twitter API integration
│   └── supabase.ts         # Supabase client configuration
├── next.config.ts          # Next.js configuration
├── package.json            # Project dependencies and scripts
└── tsconfig.json           # TypeScript configuration

Local Development Setup

Follow these steps to set up the BroccoliNGO Dapp for local development:

Prerequisites

  • Node.js 18.x or later
  • pnpm or yarn package manager
  • Git

Installation

  1. Clone the repository:
https://github.com/Broccoli-CTO/BroccoliNGO-Dapp.git
cd BroccoliNGO_Dapp
  1. Install dependencies:
pnpm install
# or
yarn install
  1. Set up environment variables:
cp .env.sample .env

4.Start the development server:

pnpm run dev
# or
yarn dev

Contributing

We welcome contributions to BroccoliNGO! Please feel free to submit issues and pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Next.js
  • Supabase
  • Twitter API
  • Upstash Redis

Built with 💚 for BroccoliNGO.

Extension points exported contracts — how you extend this code

Props (Interface)
(no doc)
components/Rescue/index.tsx
Props (Interface)
(no doc)
components/Task/ProofView/index.tsx
Props (Interface)
(no doc)
components/RescueHuman/taskCard.tsx
Props (Interface)
(no doc)
components/Home/rescue-successful/index.tsx
DrawerRightProps (Interface)
(no doc)
components/Drawer/fullpage/index.tsx
TooltipProps (Interface)
(no doc)
components/ui/tooltip.tsx
Props (Interface)
(no doc)
components/icons/upload.tsx
Contact (Interface)
(no doc)
shared/types/help.ts

Core symbols most depended-on inside this repo

_TL_
called by 179
scripts/collect-i18n.ts
trans
called by 157
components/ui/I18nProvider.tsx
get
called by 22
shared/server/redis.ts
useI18n
called by 19
components/ui/I18nProvider.tsx
debugLog
called by 12
shared/server/sync.ts
userAuth
called by 11
shared/server/auth.ts
useGlobalCtx
called by 10
hooks/useGlobal.tsx
padToTwoDigits
called by 8
components/Task/ApprovalView/index.tsx

Shape

Function 278
Interface 64
Method 8
Class 6
Enum 2

Languages

TypeScript100%

Modules by API surface

shared/api/index.ts18 symbols
shared/types/rescue.ts13 symbols
shared/server/sync.ts11 symbols
components/Home/grid.ts11 symbols
shared/utils.ts10 symbols
shared/task.ts10 symbols
components/RescueHuman/index.tsx10 symbols
shared/upload/index.ts9 symbols
hooks/useTaskDetails.tsx9 symbols
shared/server/trans.ts8 symbols
shared/server/model.ts8 symbols
components/ui/color-mode.tsx8 symbols

For agents

$ claude mcp add BroccoliNGO-Dapp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page