{"id":22080952,"url":"https://github.com/DefiFundr-Labs/defifundr_backend","last_synced_at":"2025-07-24T14:32:29.618Z","repository":{"id":174388692,"uuid":"651508831","full_name":"DefiFundr-Labs/defifundr_backend","owner":"DefiFundr-Labs","description":"Decentralized Payroll applicalication - Backend ","archived":false,"fork":false,"pushed_at":"2025-07-16T10:43:33.000Z","size":145034,"stargazers_count":14,"open_issues_count":7,"forks_count":18,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T14:35:52.235Z","etag":null,"topics":["blockchain","etherium","golang","hexagonal-architecture","postgresql","solidity","solidity-contracts","sqlc"],"latest_commit_sha":null,"homepage":"https://defifundr.koyeb.app/swagger/index.html","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/DefiFundr-Labs.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-06-09T11:50:27.000Z","updated_at":"2025-07-08T13:09:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cccb8b7-289f-437d-96c5-e46b72c92d4f","html_url":"https://github.com/DefiFundr-Labs/defifundr_backend","commit_stats":null,"previous_names":["demola234/deficrowdfunding-backend","demola234/defiraise_backend","defifundr-labs/defiraise_backend","defifundr-labs/defifundr_backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DefiFundr-Labs/defifundr_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiFundr-Labs%2Fdefifundr_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiFundr-Labs%2Fdefifundr_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiFundr-Labs%2Fdefifundr_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiFundr-Labs%2Fdefifundr_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefiFundr-Labs","download_url":"https://codeload.github.com/DefiFundr-Labs/defifundr_backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefiFundr-Labs%2Fdefifundr_backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266855830,"owners_count":23995563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blockchain","etherium","golang","hexagonal-architecture","postgresql","solidity","solidity-contracts","sqlc"],"created_at":"2024-11-30T23:19:26.177Z","updated_at":"2025-07-24T14:32:24.596Z","avatar_url":"https://github.com/DefiFundr-Labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DefiFundr - A decentralized crowdfunding platform for the Ethereum blockchain\n\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/demola234/deFICrowdFunding-Backend/test.yml)\n![GitHub go.mod Go version (branch \u0026 subdirectory of monorepo)](https://img.shields.io/github/go-mod/go-version/demola234/deFICrowdFunding-Backend/main)\n![GitHub issues](https://img.shields.io/github/issues/demola234/deFICrowdFunding-Backend)\n![GitHub Repo stars](https://img.shields.io/github/stars/demola234/deFICrowdFunding-Backend)\n\n## What is DefiFundr?\n\nDefiFundr is a decentralized crowdfunding platform built on the Ethereum blockchain. It allows users to create and contribute to crowdfunding campaigns, and allows campaign creators to set a funding goal and deadline. If the funding goal is met before the deadline, the campaign is successful and the funds are released to the campaign creator. If the funding goal is not met before the deadline, the campaign is unsuccessful and the funds are returned to the contributors.\n\n## Installation\n\n```bash\ngit clone\ncd deFICrowdFunding-Backend\ngo mod download\n```\n\n## Usage\n\n### Using Makefile\n\n```bash\nmake server\n```\n\n### Using Go\n\n```bash\ngo run main.go\n```\n\n### Using Air (Hot Reload)\n\n```bash\nair\n```\n\n## Testing\n\n```bash\nmake test\n```\n\n### Unit Tests\n\n```bash\ngo test ./...\n```\n\n### Coverage\n\n```bash\ngo test -v -cover ./...\n```\n\n## API Documentation\n\n\u003c!-- swagger logo and link to view --\u003e\n\n![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge\u0026logo=swagger\u0026logoColor=white\u0026link=https://defifundr-hyper.koyeb.app/swagger/index.html)\n[View API Documentation](https://defifundr-hyper.koyeb.app/swagger/index.html)\n\n## Database Documentation\n\n\u003c!-- dbdiagram logo and link to view --\u003e\n\n[DB Diagram](https://dbdocs.io/kolawoleoluwasegun567/DefiFundr)\n\n## Smart Contract Address\n\n\u003c!-- etherscan logo and link to view --\u003e\n\n![Ethereum](https://img.shields.io/badge/Ethereum-3C3C3D?style=for-the-badge\u0026logo=Ethereum\u0026logoColor=white)(https://sepolia.etherscan.io/address/0x574Bc33136180f0734fc3fa55379e9e28701395E#code)\n\n## API Endpoints\n\n| Endpoint                           |       Functionality        | HTTP method |\n| ---------------------------------- | :------------------------: | :---------: |\n| /api/v1/campaigns                  |   Create a new campaign    |    POST     |\n| /api/v1/campaigns                  |     Get all campaigns      |     GET     |\n| /api/v1/campaigns/:id              |    Get a campaign by id    |     GET     |\n| /api/v1/campaigns/owner            |  Get a campaign by owner   |     GET     |\n| /api/v1/campaigns/donation/:id     |   Get a campaign donors    |     GET     |\n| /api/v1/campaigns/donate           |    Donate to a campaign    |    POST     |\n| /api/v1/campaigns/withdraw         |  Withdraw from a campaign  |    POST     |\n| /api/v1/campaigns/myDonations      |      Get my donations      |     GET     |\n| /api/v1/campaigns/categories       |     Get all categories     |     GET     |\n| /api/v1/campaigns/categories/:id   | Get campaigns by category  |     GET     |\n| /api/v1/campaigns/search           |  Search campaigns by name  |     GET     |\n| /api/v1/campaignsTypes             |   Get all campaign types   |     GET     |\n| /api/v1/campaigns/latestCampaigns  |    Get latest campaigns    |     GET     |\n| /api/v1/user                       |      Get user details      |     GET     |\n| /api/v1/user                       |    Update user details     |    POST     |\n| /api/v1/userAddress                |    Get user by address     |    POST     |\n| /api/v1/user/avatar                |     Set profile avatar     |     GET     |\n| /api/v1/user/avatar/set            |       Select avatar        |    POST     |\n| /api/v1/user/biometrics            |       Set biometrics       |    POST     |\n| /api/v1/user/logout                |        Logout user         |    POST     |\n| /api/v1/user/password/change       |      Change password       |    POST     |\n| /api/v1/user/password              |      Create password       |    POST     |\n| /api/v1/user/password/reset        |       Reset password       |    POST     |\n| /api/v1/user/password/reset/verify | Verify password reset code |    POST     |\n| /api/v1/user/verify                |        Verify user         |    POST     |\n| /api/v1/user/verify/resend         |  Resend verification code  |    POST     |\n| /api/v1/user/checkUsername         |  Check if username exists  |    POST     |\n| /api/v1/user/privatekey            |    Get user private key    |    POST     |\n| /api/v1/user/login                 |         Login user         |    POST     |\n| /api/v1/user/renewAccess           |     Renew access token     |    POST     |\n| /api/v1/currentPrice               |   Get current ETH price    |     GET     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDefiFundr-Labs%2Fdefifundr_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDefiFundr-Labs%2Fdefifundr_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDefiFundr-Labs%2Fdefifundr_backend/lists"}