Happening-Community / requests-and-offers

Requests And Offers is a hAppenings.community project to facilitate exchange between Holochain creators, developers, advocates, projects and organisations! It's an agent-centric, distributed marketplace of requests and offers built with Holochain.
https://www.happenings.community
Other
6 stars 2 forks source link
holochain hrea rust sveltekit tailwindcss

Requests and Offers

A hAppenings.community project facilitating exchange between Holochain creators, developers, advocates, projects, and organizations. Built with Holochain, it provides an agent-centric, distributed marketplace for requests and offers.

Quick Links

Documentation

šŸ“š Full Documentation

Key Documentation Sections

Quick Start

Prerequisites

Setup

# Clone repository
git clone https://github.com/Happening-Community/requests-and-offers.git
cd requests-and-offers

# Enter nix shell
nix develop

# Install dependencies
pnpm install

Development

# Start with 2 agents (default)
pnpm start

# Start with custom number of agents
AGENTS=3 pnpm start

# Start with Tauri (desktop app)
pnpm start:tauri

This will:

Testing

# Run all tests
pnpm test

# Frontend tests
pnpm test:ui

# Individual zome tests
pnpm test:misc           # Misc functionality
pnpm test:users          # Users Organizations
pnpm test:administration # Administration
pnpm test:organizations  # Organizations
pnpm test:status        # Status module

Building

# Build zomes
pnpm build:zomes

# Build complete hApp
pnpm build:happ

# Package for distribution
pnpm package

Project Structure

requests-and-offers/
ā”œā”€ā”€ dnas/                    # Holochain DNA
ā”‚   ā””ā”€ā”€ requests_and_offers/
ā”‚       ā””ā”€ā”€ zomes/          # DNA zomes
ā”‚           ā”œā”€ā”€ coordinator/ # Coordinator zomes
ā”‚           ā””ā”€ā”€ integrity/  # Integrity zomes
ā”œā”€ā”€ ui/                     # SvelteKit frontend
ā”‚   ā”œā”€ā”€ src/
ā”‚   ā”‚   ā”œā”€ā”€ lib/           # Shared components
ā”‚   ā”‚   ā”œā”€ā”€ routes/        # SvelteKit routes
ā”‚   ā”‚   ā”œā”€ā”€ services/      # Holochain services
ā”‚   ā”‚   ā””ā”€ā”€ stores/        # State management
ā”œā”€ā”€ tests/                  # Tryorama tests
ā””ā”€ā”€ documentation/         # Project documentation
    ā”œā”€ā”€ guides/           # Development guides
    ā”œā”€ā”€ specifications/   # Project specifications
    ā””ā”€ā”€ technical/       # Technical documentation

Feature Development

See our Contributing Guide for detailed development workflow:

  1. DNA Development

    • Implement zome functionality
    • Write Tryorama tests
    • Document entry and link types
  2. Service Layer

    • Create Holochain services
    • Implement store management
    • Handle state updates
  3. UI Implementation

    • Build reusable components
    • Create feature pages
    • Integrate with stores

Community

License

This project is licensed under Cryptographic Autonomy License version 1.0