{"repo":"stakwork/sphinx-tribes","free":true,"listed":false,"github":"https://github.com/stakwork/sphinx-tribes","clone":"git clone https://github.com/stakwork/sphinx-tribes.git","description":"Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.","language":"Go","stars":37,"topics":["bitcoin","bounty","btc","foss","lightning-network","open-source","golang"],"license":null,"category":"blockchain-web3","readme_excerpt":"Sphinx-Tribes Backend Sphinx-Tribes is a decentralized message broker for public groups within the Sphinx ecosystem. This README covers the setup and configuration of the Sphinx-Tribes backend. Table of Contents - Prerequisites - Setup - Cloning the Repository - Building the Docker Image - Environment Configuration - Database Setup - Running the Backend - Optional Features - Redis for Caching - Relay Integration - Meme Image Upload - SuperAdmin Dashboard Access - Stakwork YouTube Integration - Testing and Mocking - Unit Testing - Mocking Interfaces - Backend API Data Validations - API Documentation - Contributing - License Prerequisites - Docker - Go language environment - PostgreSQL database - Redis instance (optional) - Relay server access (optional) Setup Cloning the Repository Clone the Sphinx-Tribes repository: Building the Docker Image Navigate to the cloned directory and build the Docker image: Environment Configuration Create a .env file in the project root with the required environment variables. Database Setup Set up a PostgreSQL database and execute the provided SQL scripts to create necessary tables. Running the Backend Build and run the Golang backend: Optional Features Redis for Caching Configure Redis by adding the REDIS URL or other relevant variables to your .env file. Relay Integration For invoice creation and keysend payment, add RELAY URL and RELAY AUTH KEY . Meme Image Upload Requires a running Relay. Enable it with MEME URL . SuperAdmin Dashboard Access ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stakwork","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stakwork/sphinx-tribes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}