Skip to content

Solana-Dapps

Production-ready Solana DApp development course with Rust, TypeScript, Python, and Kubernetes

View on GitHub


Information

Property Value
Language TypeScript
Stars 0
Forks 0
Watchers 0
Open Issues 0
License No License
Created 2026-01-12
Last Updated 2026-02-19
Last Push 2026-01-13
Contributors 1
Default Branch main
Visibility private

Datasets

This repository includes 3 dataset(s):

Dataset Format Size

| package.json | .json | 1.01 KB |

| tsconfig.json | .json | 0.56 KB |

| package.json | .json | 1.04 KB |

Reproducibility

This repository includes reproducibility tools:

  • Dockerfile for containerization

Status

  • Issues: Enabled
  • Wiki: Disabled
  • Pages: Enabled

README

Solana DApps Course

Production-ready Solana DApp development with Rust, TypeScript, Python, and Kubernetes.

Documentation License: MIT

Overview

A comprehensive course covering the full stack of Solana DApp development:

  • Smart Contracts: Rust + Anchor Framework
  • Frontend: TypeScript + React + NextJS
  • Backend: FastAPI (Python) + Poem (Rust)
  • Database: PostgreSQL + SQLite
  • Infrastructure: Kubernetes + Helm + Traefik

Course Content

Foundations (Modules 0-4)

  • Prerequisites & Environment Setup
  • Blockchain Fundamentals
  • Solana Architecture
  • Rust for Solana
  • Anchor Framework

DApps (Modules 5-8)

  • Token & Escrow System
  • NFT Marketplace
  • DeFi AMM (Automated Market Maker)
  • DAO Governance

Full Stack (Modules 9-11)

  • Frontend Patterns (React/NextJS)
  • Backend Services (FastAPI/Poem)
  • Database Layer (PostgreSQL)

Production (Modules 12-13)

  • Kubernetes Deployment
  • Production Patterns & Security

Quick Start

Prerequisites

# Verify installations
rustc --version    # >= 1.70
solana --version   # >= 1.16
anchor --version   # >= 0.29
node --version     # >= 18
pnpm --version     # >= 8
python --version   # >= 3.11

Clone and Setup

git clone https://github.com/Digital-AI-Finance/Solana-Dapps.git
cd Solana-Dapps

# Install dependencies
pnpm install

# Build Anchor programs
anchor build

# Run tests
anchor test

Documentation (Local)

pip install mkdocs-material
cd docs && mkdocs serve

Visit http://localhost:8000

Repository Structure

Solana-Dapps/
├── docs/              # MkDocs documentation (GitHub Pages)
├── programs/          # Anchor smart contracts
│   ├── token-escrow/
│   ├── nft-marketplace/
│   ├── defi-amm/
│   └── dao-governance/
├── app/               # NextJS frontend
├── api/               # FastAPI backend
├── services/          # Poem (Rust) services
├── k8s/               # Kubernetes configs
│   ├── helm/
│   ├── local/
│   └── production/
├── database/          # SQL schemas & migrations
└── scripts/           # Utility scripts

Development

Anchor Programs

# Build all programs
anchor build

# Test all programs
anchor test

# Deploy to devnet
anchor deploy --provider.cluster devnet

Frontend (NextJS)

cd app
pnpm install
pnpm dev

Backend (FastAPI)

cd api
poetry install
poetry run uvicorn app.main:app --reload

Kubernetes (Local)

# Start minikube
minikube start

# Deploy with Helm
helm install solana-dapps k8s/helm/solana-dapps

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests
  5. Submit a pull request

License

MIT License - see LICENSE for details.