Getting Started with SophiChain
Your Guide to Building on SophiChain
Welcome! This guide will help you get up and running with SophiChain quickly.
๐ Prerequisitesโ
Before you begin, ensure you have:
Required Softwareโ
Required Servicesโ
- โ MongoDB 7.0+ - For document storage
- โ SQL Server 2022+ or PostgreSQL 15+ - For transactional data
Recommended Toolsโ
- ๐ก Visual Studio 2022 or VS Code with C# extension
- ๐ก MongoDB Compass - For database management
- ๐ก Postman or Insomnia - For API testing
๐ Quick Start (5 Minutes)โ
Step 1: Clone the Repositoryโ
git clone https://github.com/sophichain.git
cd sophichain
Step 2: Start Infrastructure with Dockerโ
# Start MongoDB and SQL Server
docker-compose up -d
# Verify services are running
docker ps
Step 3: Configure Connection Stringsโ
Edit hosts/b2host/src/SophiChain.B2Host.Blazor/appsettings.json:
{
"ConnectionStrings": {
"Default": "Server=localhost;Database=SophiChain;User Id=sa;Password=YourPassword123!;TrustServerCertificate=true",
"MongoDB": "mongodb://localhost:27017/SophiChain"
}
}
Step 4: Run Database Migrationsโ
cd hosts/b2host/src/SophiChain.B2Host.DbMigrator
dotnet run
Step 5: Start the Applicationโ
cd ../SophiChain.B2Host.Blazor
dotnet run
Step 6: Open Your Browserโ
Navigate to: https://localhost:44300
Default Credentials:
- Username:
admin - Password:
1q2w3E*
๐ฏ What's Next?โ
For Business Usersโ
- Explore FinanceHub - Understand payment capabilities
- Review Use Cases - See real-world scenarios
- Plan Your Implementation (Coming Soon)
For Developersโ
- Architecture Overview (Coming Soon) - Understand the system design
- FinanceHub Deep Dive - Learn implementation patterns
- Build Your First Module (Coming Soon)
- API Reference (Coming Soon)
For DevOpsโ
- Docker Deployment (Coming Soon)
- Kubernetes Setup (Coming Soon)
- Monitoring & Logging (Coming Soon)
๐ Detailed Setup Guidesโ
Option 1: Development Environment (Coming Soon)โ
Full local development setup with all services.
Option 2: Docker Compose (Coming Soon)โ
Containerized development environment.
Option 3: Cloud Deployment (Coming Soon)โ
Deploy to Azure, AWS, or ArvanCloud.
๐ง Configurationโ
Module Configuration (Coming Soon)โ
How to enable/disable specific modules.
Multi-Tenancy Setup (Coming Soon)โ
Configure tenant isolation and management.
Payment Gateway Configuration (Coming Soon)โ
Set up Stripe, PayPal, ZarinPal, etc.
AI Services Configuration (Coming Soon)โ
Connect OpenAI, DeepSeek, or local models.
๐งช Running Testsโ
# Run all tests
dotnet test
# Run specific module tests
cd modules/sophichain.financehub/test
dotnet test
# Run with coverage
dotnet test --collect:"XPlat Code Coverage"
๐ Troubleshootingโ
Common Issues (Coming Soon)โ
Solutions to frequently encountered problems.
Database Connection Issues (Coming Soon)โ
Fix connection string problems.
Port Conflicts (Coming Soon)โ
Resolve port binding issues.
๐ก Learning Resourcesโ
Video Tutorials (Coming Soon)โ
- Getting Started (10 min)
- Building Your First Module (30 min)
- Payment Integration (20 min)
Sample Projects (Coming Soon)โ
- Simple Blog with Payments
- E-commerce Store
- SaaS Application
Communityโ
- GitHub Discussions - Ask questions
- Discord (Coming Soon) - Real-time chat
- Blog (Coming Soon) - Tutorials and updates
๐ค Need Help?โ
- ๐ Documentation Issues? Open an issue
- ๐ Found a Bug? Report it
- ๐ก Feature Request? Suggest it
- ๐ง Commercial Support? Contact us
โ Next Steps Checklistโ
After completing this guide, you should:
- Have SophiChain running locally
- Understand the module structure
- Know where to find documentation
- Be ready to integrate or extend
Ready to dive deeper? Choose your path:
- ๐ Business User โ FinanceHub Capabilities
- ๐ป Developer โ Architecture Overview (Coming Soon)
- ๐ DevOps โ Deployment Guide (Coming Soon)
Last Updated: October 7, 2025
Guide Version: 1.0