Skip to content

Be-Human/synapse-matrix

Repository files navigation

Aladdin Protocol

🚀 Decentralized AI Task Collaboration Platform built on blockchain

📁 Project Structure

aladdin-protocol/
├── apps/                 # Applications
│   ├── web/             # Next.js frontend
│   └── api/             # NestJS backend
├── packages/            # Shared packages
│   ├── contracts/       # Smart contracts
│   ├── common/          # Shared types & utils
│   ├── ui/             # Shared UI components
│   └── sdk/            # Client SDKs
├── services/           # Microservices
└── docs/              # Documentation

🛠️ Tech Stack

  • Frontend: Next.js 14, TypeScript, Wagmi, RainbowKit
  • Backend: NestJS, Prisma, PostgreSQL, Redis
  • Smart Contracts: Solidity, Hardhat, OpenZeppelin
  • Monorepo: Turborepo, pnpm

🚀 Getting Started

Prerequisites

  • Node.js >= 18.0.0
  • pnpm >= 8.0.0

Installation

# Install dependencies
pnpm install

# Set up environment variables
cp .env.example .env.local

Development

# Run all services
pnpm dev

# Run specific app
pnpm dev:web    # Frontend
pnpm dev:api    # Backend

# Contracts
pnpm contracts:compile
pnpm contracts:test
pnpm contracts:deploy

Build

# Build all packages
pnpm build

# Build specific app
pnpm build:web
pnpm build:api

📝 Scripts

Command Description
pnpm dev Start all apps in development mode
pnpm build Build all apps
pnpm test Run tests
pnpm lint Run linter
pnpm format Format code
pnpm db:studio Open Prisma Studio

🤝 Contributing

Please read our Contributing Guide before submitting a Pull Request.

📄 License

MIT © Aladdin Protocol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors