{"id":18780936,"url":"https://github.com/walchand-linux-users-group/linuxdiary5.0-backend","last_synced_at":"2025-08-26T16:33:07.246Z","repository":{"id":249605581,"uuid":"831989961","full_name":"Walchand-Linux-Users-Group/LinuxDiary5.0-Backend","owner":"Walchand-Linux-Users-Group","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-15T09:10:10.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-28T07:38:51.567Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Walchand-Linux-Users-Group.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-07-22T06:17:18.000Z","updated_at":"2024-08-15T09:10:13.000Z","dependencies_parsed_at":"2024-08-21T18:46:00.730Z","dependency_job_id":null,"html_url":"https://github.com/Walchand-Linux-Users-Group/LinuxDiary5.0-Backend","commit_stats":null,"previous_names":["tanmay-8/linuxdiary5.0-backend","walchand-linux-users-group/linuxdiary5.0-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Walchand-Linux-Users-Group/LinuxDiary5.0-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FLinuxDiary5.0-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FLinuxDiary5.0-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FLinuxDiary5.0-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FLinuxDiary5.0-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Walchand-Linux-Users-Group","download_url":"https://codeload.github.com/Walchand-Linux-Users-Group/LinuxDiary5.0-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FLinuxDiary5.0-Backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261080113,"owners_count":23106564,"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","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":"2024-11-07T20:28:48.284Z","updated_at":"2025-06-21T06:41:52.079Z","avatar_url":"https://github.com/Walchand-Linux-Users-Group.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinuxDairy-5.0 Backend\n\nThis repository contains the source code for the backend of registration of linuxdiary5.0 .\nThe code is written in Go.\n\n# Configuration\n\nTo configure the backend of the LinuxDiary 5.0 registration system, follow these steps:\n\n1. Clone the repository to your local machine:\n\n    ```\n    git clone https://github.com/Walchand-Linux-Users-Group/LinuxDiary5.0-Backend.git\n    ```\n\n2. Install the required dependencies by running the following command:\n\n    ```\n    go get -d ./...\n    ```\n\n3. Create a .env file\n\n    ```\n    touch .env\n    ```\n\n    Add the following environment variables to the .env file:\n\n    ```\n    export BACKEND_MONGO_PROTOCOL=your_protocol\n    export BACKEND_MONGO_USER=your_username\n    export BACKEND_MONGO_PASS=your_password\n    export BACKEND_MONGO_HOST=your_host\n    export BACKEND_MONGO_DB=your_db\n    export BACKEND_MONGO_PARAM=your_param\n\n    export BACKEND_PORT=8080\n\n    export BACKEND_MAIL_HOST=your_mail_host\n    export BACKEND_MAIL_USER=your_mail_user\n    export BACKEND_MAIL_PASSWORD=your_mail_password\n\n    export CLOUDINARY_CLOUD_NAME=your_cloud_name\n    export CLOUDINARY_KEY=your_cloudinary_key\n    export CLOUDINARY_SECRET=your_cloudinary_secret\n\n    export ADMIN_PASSWORD=your_admin_password\n    ```\n\n4. Source the .env file:\n\n    ```\n    source .env\n    ```\n\n5. Build and run the backend server using the following command:\n\n    ```\n    go run main.go\n    ```\n\n6. The backend server should now be running on `http://localhost:8080`.\n\n# Uses\n\nFor Registration use the following endpoint:\n\n```\nPOST /user/registratiuon\n```\n\nSample register for this endpoint\n\n```\n#!/bin/bash\n\ncurl -X POST http://localhost:8080/user/registration \\\n  -H \"Content-Type: multipart/form-data\" \\\n  -F \"name=John Doe\" \\\n  -F \"phone=1234567210\" \\\n  -F \"johndoe@gmail.com\" \\\n  -F \"transactionId=123456\" \\\n  -F \"collegeName=ABC University\" \\\n  -F \"yearOfStudy=2024\" \\\n  -F \"branch=Computer Science\" \\\n  -F \"isDualBooted=true\" \\\n  -F \"referralCode=ABCD1234\" \\\n  -F \"paymentImg=@/home/tanmay/Pictures/Screenshots/testpng.jpeg\"\n```\n\n```\n{\n    \"name\": \"John Doe\",\n    \"email\": \"johndoe@gmail.com\"\n    \"phone\": \"1234567210\",\n    \"transactionId\": \"123456\",\n    \"collegeName\": \"ABC University\",\n    \"yearOfStudy\": \"2024\",\n    \"branch\": \"Computer Science\",\n    \"isDualBooted\": true,\n    \"referralCode\": \"ABCD1234\",\n}\n```\n\n\nFields for registration are:\n\n```\n{\n    name,\n    email,\n    phone,\n    transactionId,\n    collegeName,\n    yearOfStudy,\n    branch,\n    isDualBooted,\n    referralCode,\n    paymentImg\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchand-linux-users-group%2Flinuxdiary5.0-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalchand-linux-users-group%2Flinuxdiary5.0-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchand-linux-users-group%2Flinuxdiary5.0-backend/lists"}