Comprehensive backend server for the Solana App Kit, providing token management, social features, real-time messaging, and various API endpoints for interacting with the Solana blockchain.
This backend server is built with Express.js and TypeScript, offering a robust API for Solana blockchain interactions, social features, real-time messaging, and comprehensive token management. It serves as the core backend for the Solana App Kit, providing modular, reusable, and easily customizable components for developers.
System Requirements
Blockchain Requirements
External Services
Clone and Navigate
Install Dependencies
Environment Setup
Configure all required environment variables in your .env
file. See the Configuration section for details.
Start Development Server
The server will start on port 8080 (or the port specified in your environment variables) with WebSocket support enabled.
The server follows a modular, service-oriented architecture:
Capabilities:
Key Features:
Capabilities:
Key Features:
Features:
Implementation:
IPFS Integration:
Cloud Storage:
Turnkey Integration:
Features:
Push Notifications:
Features:
Endpoint | Method | Description |
---|---|---|
/api/config | POST | Create TokenMill configuration |
/api/quote-token-badge | POST | Get token badge quote |
/api/markets | POST | Create token market |
/api/free-market | POST | Free market from restrictions |
/api/tokens | POST | Create new token |
/api/swap | POST | Execute token swap |
/api/stake | POST | Create staking position |
/api/vesting | POST | Create vesting schedule |
Endpoint | Method | Description |
---|---|---|
/api/jupiter/* | Various | Jupiter DEX integration |
/api/raydium/swap/* | Various | Raydium swap operations |
/api/meteora/* | Various | Meteora DBC operations |
/api/pump-swap/* | Various | PumpSwap functionality |
Endpoint | Method | Description |
---|---|---|
/api/thread | Various | Thread management |
/api/profile | Various | User profiles |
/api/chat | Various | Real-time messaging |
/api/notifications | Various | Push notifications |
For detailed API documentation, see the API Reference section.
Important Security Considerations
Complete setup instructions with detailed environment configuration
Comprehensive API reference with examples and responses
Production deployment guides for various platforms
Real-world examples of client-server integration
Need Help? Check out our support channels or open an issue in the GitHub repository.