{"id":17966002,"url":"https://github.com/saurabh9136/donation_platform","last_synced_at":"2026-04-12T15:36:15.510Z","repository":{"id":260029838,"uuid":"879735183","full_name":"saurabh9136/Donation_platform","owner":"saurabh9136","description":"Danadiksha is a donation platform where users can connect with NGOs, make donations, and receive transparency through tax relief certificates and video proof of their contributions.","archived":false,"fork":false,"pushed_at":"2024-10-29T05:22:55.000Z","size":9472,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:35:56.372Z","etag":null,"topics":["angular","django","html","javascript","python","scss","typescript"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saurabh9136.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-28T13:09:47.000Z","updated_at":"2024-10-29T05:29:14.000Z","dependencies_parsed_at":"2024-10-29T06:32:42.317Z","dependency_job_id":null,"html_url":"https://github.com/saurabh9136/Donation_platform","commit_stats":null,"previous_names":["saurabh9136/donation_platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saurabh9136/Donation_platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabh9136%2FDonation_platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabh9136%2FDonation_platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabh9136%2FDonation_platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabh9136%2FDonation_platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saurabh9136","download_url":"https://codeload.github.com/saurabh9136/Donation_platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabh9136%2FDonation_platform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267685020,"owners_count":24127704,"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-29T02:00:12.549Z","response_time":2574,"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":["angular","django","html","javascript","python","scss","typescript"],"created_at":"2024-10-29T13:06:34.223Z","updated_at":"2026-04-12T15:36:15.450Z","avatar_url":"https://github.com/saurabh9136.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Danadiksha\n\nDanadiksha is a donation platform where users can connect with NGOs, make donations, and receive transparency through tax relief certificates and video proof of their contributions. It includes JWT-based authentication and utilizes Django Rest Framework (DRF) for the backend and Angular for the frontend.\n\n---\n## Notes\n\n- **Frontend Development**: The frontend component is under development. It will include user and NGO portals for donation management, donation tracking, and transparency features.\n- **AWS Configuration**: AWS configuration is pending to securely store and manage NGO images, terms and conditions certificates, proof videos, and tax relief certificates.\n## Project Flow\n\n1. **User Registration and Login**  \n   - Users and NGOs can independently register on the platform. \n   - Users receive a confirmation upon successful registration.\n   - NGOs are registered to manage donation activities and update proofs.\n\n2. **User Donation Process**\n   - Users select an NGO and choose an amount to donate.\n   - Upon donation, the platform deducts a platform commission and confirms the donation.\n   - A tax relief certificate is generated and made available for download.\n\n3. **NGO Proof and Certificate Upload**\n   - NGOs upload proof of distribution (e.g., video, images) and necessary documentation.\n   - The platform stores these files (to be configured on AWS).\n   - Donors are notified once the proof is uploaded.\n\n4. **Admin Management**\n   - Admins have control over user and NGO accounts.\n   - They manage homepage banners and control platform content as needed.\n\n5. **User Dashboard and Donation History**\n   - Users can view their donation history, download receipts, and check NGO updates.\n   - Real-time updates will be implemented to keep users informed of NGO activities.\n\n## Features\n\n- **User and NGO Registration**: Users and NGOs can register and create accounts independently.\n- **JWT Authentication**: Secures API endpoints with JWT-based token authentication.\n- **Donation Management**: Users can donate to NGOs, who can then record proof of fund usage and upload tax certificates.\n- **Transparency**: NGOs provide video evidence and tax certificates post-donation.\n- **Role-Based Access**: Ensures secure access for users and NGOs.\n\n---\n\n## Tech Stack\n\n- **Backend**: Django Rest Framework (DRF)\n- **Frontend**: Angular with standalone components\n- **Database**: SQLite\n\n---\n# Danadiksha API Documentation\n\n## API Endpoints\n\n1. **User Registration** - `POST /api/users/register`\n   - **Request**:\n     ```json\n     {\n       \"first_name\": \"John\",\n       \"last_name\": \"Doe\",\n       \"email\": \"johndoe@example.com\",\n       \"password\": \"password123\",\n       \"mobile_number\": \"1234567890\",\n       \"city\": \"New York\",\n       \"address\": \"1234 Elm Street\",\n       \"country_region\": \"USA\"\n     }\n     ```\n   - **Response**:\n     ```json\n     {\n       \"user_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n       \"email\": \"johndoe@example.com\",\n       \"status\": \"Active\"\n     }\n     ```\n\n2. **NGO Registration** - `POST /api/ngos/register`\n   - **Request**:\n     ```json\n     {\n       \"ngo_name\": \"Animal Welfare\",\n       \"email\": \"contact@animalwelfare.org\",\n       \"password\": \"securepassword\",\n       \"registration_number\": \"12345\",\n       \"mobile_number\": \"1234567890\",\n       \"city\": \"San Francisco\",\n       \"address\": \"5678 Oak Street\",\n       \"country_region\": \"USA\"\n     }\n     ```\n   - **Response**:\n     ```json\n     {\n       \"ngo_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n       \"email\": \"contact@animalwelfare.org\",\n       \"status\": \"Active\"\n     }\n     ```\n\n3. **User Login** - `POST /api/login`\n   - **Request**:\n     ```json\n     {\n       \"email\": \"johndoe@example.com\",\n       \"password\": \"password123\"\n     }\n     ```\n   - **Response**:\n     ```json\n     {\n       \"access\": \"\u003cJWT Access Token\u003e\",\n       \"refresh\": \"\u003cJWT Refresh Token\u003e\",\n       \"user\": 1\n     }\n     ```\n\n4. **Create Donation** - `POST /api/donations/`\n   - **Request**:\n     ```json\n     {\n       \"user\": \"123e4567-e89b-12d3-a456-426614174000\",\n       \"ngo\": \"987e6543-e89b-12d3-a456-426614174111\",\n       \"amount\": 100,\n       \"message\": \"For a better cause\",\n       \"payment_method\": \"Credit Card\"\n     }\n     ```\n   - **Response**:\n     ```json\n     {\n       \"donation_id\": \"789e4567-e89b-12d3-a456-426614174333\",\n       \"status\": \"Initialized\",\n       \"amount\": 100,\n       \"message\": \"For a better cause\"\n     }\n     ```\n\n5. **Upload Tax Certificate and Video Proof** - `POST /api/donations/\u003cdonation_id\u003e/upload_proof/`\n   - **Request**:\n     - `tax_certificate`: (File)\n     - `video_proof`: (File)\n   - **Response**:\n     ```json\n     {\n       \"status\": \"Success\",\n       \"message\": \"Tax certificate and video proof uploaded successfully.\"\n     }\n     ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurabh9136%2Fdonation_platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaurabh9136%2Fdonation_platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurabh9136%2Fdonation_platform/lists"}