{"id":41992777,"url":"https://github.com/bitvora/bitvora-commerce-backend","last_synced_at":"2026-01-26T00:45:10.567Z","repository":{"id":281286393,"uuid":"944135270","full_name":"bitvora/bitvora-commerce-backend","owner":"bitvora","description":"Merchant Payment Solution powered by Bitcoin \u0026 NWC","archived":false,"fork":false,"pushed_at":"2025-06-17T23:33:31.000Z","size":241,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-25T13:48:26.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitvora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-06T21:00:40.000Z","updated_at":"2025-06-17T23:33:35.000Z","dependencies_parsed_at":"2025-03-08T04:18:14.960Z","dependency_job_id":"969da4ea-c7ba-44cc-aab4-f734b7642e7f","html_url":"https://github.com/bitvora/bitvora-commerce-backend","commit_stats":null,"previous_names":["bitvora/bitvora-commerce-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitvora/bitvora-commerce-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvora%2Fbitvora-commerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvora%2Fbitvora-commerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvora%2Fbitvora-commerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvora%2Fbitvora-commerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitvora","download_url":"https://codeload.github.com/bitvora/bitvora-commerce-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvora%2Fbitvora-commerce-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28763019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"ssl_error","status_checked_at":"2026-01-26T00:37:25.959Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-26T00:45:06.689Z","updated_at":"2026-01-26T00:45:10.562Z","avatar_url":"https://github.com/bitvora.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backend Setup Instructions\n\nThis document provides instructions for setting up and running the backend service.\n\n## Prerequisites\n\n- Ensure you have [Docker](https://www.docker.com/get-started) and [Docker Compose](https://docs.docker.com/compose/) installed on your machine.\n- Make sure you have [Go](https://golang.org/dl/) installed (version 1.16 or later).\n\n## Setup\n\n1. **Copy the Environment Variables File**\n\n   Before starting the application, you need to create a `.env` file with your own configuration. Copy the example file provided:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n   Update the `.env` file with your PostgreSQL credentials and desired application port.\n\n2. **Start the Database with Docker Compose**\n\n   Use Docker Compose to start the PostgreSQL database. Run the following command in the root of your project directory:\n\n   ```bash\n   docker-compose up -d\n   ```\n\n   This command will start the database service in detached mode.\n\n3. **Build the Go Application**\n\n   After the database is up and running, build the Go application:\n\n   ```bash\n   go build\n   ```\n\n4. **Run the Application**\n\n   Finally, run the application:\n\n   ```bash\n   ./your_application_name\n   ```\n\n   Replace `your_application_name` with the name of the binary generated by the `go build` command.\n\n5. **Access the Application**\n\n   The application should now be running on the port specified in your `.env` file (default is `2121`). You can access it via `http://localhost:2121`.\n\n## Troubleshooting\n\n- If you encounter issues with loading the `.env` file, ensure that the file is correctly named and located in the root of your project.\n- Check the logs of the Docker containers for any errors by running:\n\n   ```bash\n   docker-compose logs\n   ```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvora%2Fbitvora-commerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitvora%2Fbitvora-commerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvora%2Fbitvora-commerce-backend/lists"}