Platform Architecture
Mintos.Pro is built on a modern, scalable architecture combining Next.js for the frontend, MongoDB for data persistence, and Solana blockchain for NFT operations. The system is designed for network isolation, high performance, and enterprise-grade security.
Technology Stack
Frontend Technologies
Next.js 15 with Pages Router, React 18 with TypeScript, Solana Wallet Adapter for blockchain connectivity, React Query for state management, and Tailwind CSS for styling. The application follows mobile-first responsive design principles.
Backend Infrastructure
Next.js API Routes handle server-side logic. MongoDB with Mongoose provides data persistence with network-aware collections. The NetworkAwareDAL (Data Access Layer) automatically routes queries to the correct network-specific collections.
Blockchain Layer
Solana blockchain (mainnet-beta and devnet) with Metaplex Core NFT standard. UMI Framework provides unified interface for blockchain operations. Irys (formerly Bundlr) handles permanent decentralized storage for NFT metadata and assets.
Network Isolation Strategy
All blockchain-related data is stored in network-specific MongoDB collections using the pattern {ModelName}_{network}. For example, Collection_mainnet and Collection_devnet are completely separate. This prevents any accidental mixing of production and test data.
Database Schemas
The platform uses 18 MongoDB schemas: 6 are network-aware (Collection, NFT, Transaction, CoreListing, CoreBid, AuctionHouseTransaction) and 12 are shared (User, Contract, AdminSession, etc.). Each schema is optimized with strategic indexes for query performance.
NetworkAware Data Access Layer
The NetworkAwareDAL automatically determines the current network from environment configuration and routes all database operations to the correct collection. Methods like getCollectionsByOwner(), createNFT(), and getListingsBySeller() are all network-aware by default.
API Architecture
The platform exposes 40+ API endpoints organized by domain: /api/auth for authentication, /api/nft for NFT operations, /api/collection for collections, /api/marketplace for trading, /api/arthash for economy, and /api/avatar for customization.
3-Layer Caching Strategy
Performance is optimized through three caching layers: Browser cache via React Query with configurable TTL, CDN cache with HTTP headers for static assets, and server-side in-memory cache for frequent queries. This achieves 98.7% faster marketplace tab switching.
Was this page helpful?
