Blockchain explorer and analytics platform for tracking and visualizing RISE Testnet data.
This is a monorepo project using pnpm with the following packages:
packages/etl: Rust ETL process for ingesting blockchain data into PostgreSQLpackages/api: Node.js API server with WebSocket for real-time updatespackages/frontend: Next.js application with TypeScript and Tailwind CSS
- Clone the repository
- Install pnpm if you don't have it already:
npm install -g pnpm - Install dependencies:
pnpm install - Setup your environment:
- Create a
.envfile in thepackages/etldirectory - Create a
.envfile in thepackages/apidirectory
- Create a
- Start the services:
- ETL process:
pnpm dev:etl - API server:
pnpm dev:api - Frontend:
pnpm dev:frontend - All services:
pnpm dev
- ETL process:
# Development
pnpm dev # Run all services in development mode
pnpm dev:etl # Run the ETL service
pnpm dev:api # Run the API service
pnpm dev:frontend # Run the frontend
# Building
pnpm build # Build all packages
pnpm build:etl # Build the ETL service
pnpm build:api # Build the API service
pnpm build:frontend # Build the frontend
# Running
pnpm start:etl # Run the ETL service (production)
pnpm start:api # Run the API service (production)
pnpm start:frontend # Run the frontend (production)You can also run commands for specific packages directly:
# API package
pnpm --filter api dev
pnpm --filter api db:generate
pnpm --filter api db:studio
# Frontend package
pnpm --filter frontend dev
pnpm --filter frontend build
pnpm --filter frontend lint- ETL: Rust, PostgreSQL, WebSockets
- API: Node.js, Express, Drizzle ORM, WebSockets
- Frontend: Next.js, TypeScript, Tailwind CSS