Skip to content

iiio2/v4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeDance

WeDance is a participatory network that empowers dance communities by providing an inclusive platform where every member can be both creator and participant. Moving beyond traditional social networks, it creates a truly collaborative ecosystem that solves critical challenges like information fragmentation, event discovery, and partner finding.

🎯 Mission

  • Transform traditional consumer-creator relationships into collaborative partnerships
  • Enable democratic access where anyone can organize events or share knowledge
  • Create value alignment through transparent, community-driven governance
  • Foster bidirectional creation where every member can be both teacher and student

🌟 Tech Stack

  • Frontend: Nuxt 3
  • Backend: Node.js + Prisma + tRPC
  • UI Components: Vue Shadcn
  • Styling: TailwindCSS
  • Form Handling: VeeValidate + Zod

📦 Prerequisites

🛠️ Setup

  1. Clone the repository
git clone [email protected]:wedance/v4.git
cd v4
  1. Build the project
make build

This command will:

  • Check for required prerequisites and install them if missing (Node.js, PNPM, etc.)
  • Set up environment files
  • Start the database
  • Install dependencies
  • Set up the database with required extensions
  • Generate Prisma client
  1. Start the development server
make start
  1. Import data (optional)
make import
  1. Access the application

Open your browser and navigate to http://localhost:3000

Troubleshooting

  • Error 500: Invalid prisma.$queryRaw() invocation: Raw query failed. Code: 42883. Message: ERROR: function ll_to_earth(numeric, numeric) does not exist HINT: No function matches the given name and argument types. You might need to add explicit type casts.

    • This should be automatically fixed by the make build command which installs the required database extensions
    • If you still encounter this error, run: make setup-db to reinstall the database extensions
  • Warning when running pnpm cli import: Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.

    • Uncomment tsconfig.json in the cli directory
  • Prerequisites installation fails: If automatic installation of prerequisites fails:

    • Install the missing prerequisites manually following the links in the Prerequisites section
    • Then run make build again
  • Docker issues: If you encounter issues with Docker:

    • Make sure Docker Desktop is running
    • Try restarting Docker Desktop
    • Run docker compose down and then make build again

📁 AI-First Development

After cloning the repository, open it in Cursor IDE for an AI-first development experience:

  1. Toggle AI Pane (Cmd + I)
  2. Go to Cursor Settings -> Models -> Check "claude-3-5-sonnet-20241022"
  3. Open Composer Tab
  4. Switch model to "claude-3-5-sonnet-20241022"
  5. Switch to agent
  6. Say "hi" to start your onboarding

After your onboarding round complete, you type "hi" and get the following prompt:

Would you like to:

1. Review today's priorities?
2. Check pending decisions?
3. Get updates on recent changes?
4. Switch to a specific expert?

We don't use any ticketing system, AI will tell you what to do next. AI will act like your personal secretary, answer any questions about business, design, architecture, etc.

📁 Project Structure

  • /components - Reusable Vue components
  • /content - Markdown content and documentation
  • /docs - Project documentation
  • /pages - Application routes
  • /stores - Pinia state stores
  • /composables - Vue composables
  • /server - Server-side code
  • /types - TypeScript type definitions
  • /utils - Utility functions
  • /schemas - Zod validation schemas

Documentation

Business

Design Challenges

Architecture

User Flows

Resources

🤝 Contributing

  1. Follow the Vue file organization rules:

    • <script> section at the top
    • <template> section in the middle
    • <style> section at the bottom
  2. Use the provided tools and conventions:

    • TailwindCSS for styling
    • Vue Shadcn for components
    • VeeValidate and Zod for form validation

📄 License

[License Information]

Releases

No releases published

Packages

No packages published

Languages

  • Vue 72.4%
  • TypeScript 24.5%
  • JavaScript 1.8%
  • Gherkin 0.7%
  • Makefile 0.4%
  • CSS 0.2%