Skip to content

rhithesh/ChaosCrowd

 
 

Repository files navigation

ChaosCrowd

Create donation-based Solana blinks for peer-to-peer fundraising.

PrerequisitesSetupContributing


Prerequisites
  • Bun (as runtime)
  • Docker (recommended for database setup)
Setup
  1. Clone the repository:

    git clone https://github.com/yourusername/ChaosCrowd.git
    cd ChaosCrowd
  2. Install dependencies:

    bun install
  3. Set up environment variables:

    Create a .env file in the root directory with the following content:

    DATABASE_URL=""
    GOOGLE_CLIENT_ID=""
    GOOGLE_CLIENT_SECRET=""
    NEXTAUTH_SECRET="" # Generate using: openssl rand -base64 32
    NEXTAUTH_URL="http://localhost:3000"
  4. Set up the database:

    • Using Docker (recommended):
      docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
    • Database URL for local Docker setup:
      DATABASE_URL="postgresql://postgres:mysecretpassword@localhost:5432/postgres"
    • Alternatively, you can use any online PostgreSQL database service.
  5. Initialize the database:

    npx prisma db push
    npx prisma db migrate dev
    npx prisma generate
  6. Start the development server:

    bun run dev

Your ChaosCrowd project should now be running at http://localhost:3000.

Contributing

We welcome contributions to ChaosCrowd! Please feel free to submit issues, create pull requests, or fork the repository to make your own changes.

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/AmazingFeature
  3. Commit your changes: git commit -m 'Add some AmazingFeature'
  4. Push to the branch: git push origin feature/AmazingFeature
  5. Open a pull request

About

Creating Campaign in Web3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • CSS 2.2%
  • JavaScript 0.3%