-
Notifications
You must be signed in to change notification settings - Fork 0
Home
garotm edited this page Nov 29, 2024
·
2 revisions
Welcome to the fleXRP Wiki! This wiki serves as the central knowledge base for the fleXRP payment gateway project.
fleXRP is a comprehensive payment gateway that enables merchants to easily accept XRP payments. This section will help you get started with the project.
- Python 3.11+
- Docker
- Git
- XRP Testnet Account (for development)
- Clone the repository:
git clone https://github.com/fleXRPL/fleXRP.git
cd fleXRP- Install dependencies:
pip install -r requirements.txt
pip install -r requirements-dev.txt- Set up environment variables:
cp .env.example .env
# Edit .env with your configurationfleXRP follows a modular architecture designed for scalability and maintainability:
-
API Layer (
/src/api/)- RESTful endpoints
- WebSocket connections
- Authentication/Authorization
-
Core Services (
/src/core/)- Error handling
- Monitoring
- Metrics collection
-
Business Logic (
/src/services/)- Payment processing
- Wallet management
- Rate calculations
- Backend: Python/Flask
- Database: PostgreSQL
- Caching: Redis
- Message Queue: RabbitMQ
- Frontend: TailwindCSS
fleXRP/
├── docker # Docker configuration files and compose setup
├── docs # Documentation and API specifications
├── node_modules # NodeJS dependencies and modules
├── src # Python source code
│ ├── api # API implementation and routes
│ ├── core # Core business logic and utilities
│ └── services # Service layer for business operations
└── tests # Test suite
├── api # API endpoint and integration tests
├── core # Core functionality unit tests
└── services # Service layer business logic tests
Run the test suite:
pytestWe follow PEP 8 guidelines and use:
- Black for code formatting
- Flake8 for linting
- MyPy for type checking
See our API Reference guide for detailed API documentation.
See our Integration Guide for details on deployment and integration.
This project is licensed under the MIT License - see the LICENSE file for details.
This documentation is maintained by the fleXRP team.