{"id":18780964,"url":"https://github.com/walchand-linux-users-group/metamorphosis-2k24-backend","last_synced_at":"2026-02-08T16:03:16.253Z","repository":{"id":216478429,"uuid":"735962863","full_name":"Walchand-Linux-Users-Group/Metamorphosis-2k24-Backend","owner":"Walchand-Linux-Users-Group","description":"Metamorphosis 2k24 registration website backend","archived":false,"fork":false,"pushed_at":"2024-06-21T10:28:10.000Z","size":97,"stargazers_count":0,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T05:32:44.873Z","etag":null,"topics":["backend","metamorphosis2k24","registration"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Walchand-Linux-Users-Group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-12-26T15:30:52.000Z","updated_at":"2024-03-16T13:24:30.000Z","dependencies_parsed_at":"2024-03-16T17:38:32.107Z","dependency_job_id":"21543165-f607-4fb3-9f85-537749a072b3","html_url":"https://github.com/Walchand-Linux-Users-Group/Metamorphosis-2k24-Backend","commit_stats":null,"previous_names":["walchand-linux-users-group/meta-2k24-backend","walchand-linux-users-group/metamorphosis-2k24-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FMetamorphosis-2k24-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FMetamorphosis-2k24-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FMetamorphosis-2k24-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walchand-Linux-Users-Group%2FMetamorphosis-2k24-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/Metamorphosis-2k24-Backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239698686,"owners_count":19682532,"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":["backend","metamorphosis2k24","registration"],"created_at":"2024-11-07T20:28:57.577Z","updated_at":"2026-02-08T16:03:16.214Z","avatar_url":"https://github.com/Walchand-Linux-Users-Group.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WLUG Event Registration Backend\n\n## Overview\n\nThis repository contains the source code for the event registration backend.\n\n## Usage\n\nTo schedule an event:\n\n```http\nPOST /api/schedule\n```\n\n```json\n{\n    \"event\": \"Meta\",\n    \"year\": 2024,\n    \"start\": 1541825600,\n    \"end\": 1541825600,\n    \"uri\": \"sample mongo uri\",\n    \"tech1\": \"golang\",\n    \"tech2\": \"docker\",\n    \"email_subject\": \"Registration Successful\",\n    \"max_users\": 100,\n    \"api_key\": \"---\",\n    \"cloudinary_name\":\"---\",\n    \"cloudinary_key\" :\"---\",\n    \"cloudinary_secret\" :\"---\",\n    \"fields\": {\n        \"name\": 1,\n        \"phone\": 1,\n        \"email\": 1,\n        \"college\": 1,\n        \"yearOfstudy\": 1,\n        \"isDualBooted\": 1,\n        \"techOpted\": 1,\n        \"paymentScreenshot\": 1,\n        \"referralCode\": 0\n    }\n}\n\n```\n\nTo upload email body:\n\n```http\nPOST /upload\n```\n```\ncurl -X POST -F \"file=@./($tech1).html\" http://server/upload \ncurl -X POST -F \"file=@./($tech2).html\" http://server/upload \ncurl -X POST -F \"file=@./both.html\" http://server/upload \n\n```\n\n\nSample Register for above config \n\n```\n#!/bin/bash\n\ncurl -X POST http://server/api/register \\\n  -H \"Content-Type: multipart/form-data\" \\\n  -F \"name=John Doe\" \\\n  -F \"phone=1234567210\" \\\n  -F \"email=test@example.com\" \\\n  -F \"college=ABC University\" \\\n  -F \"yearOfStudy=2024\" \\\n  -F \"isDualBooted=true\" \\\n  -F \"techOpted=both\" \\\n  -F \"referralCode=ABCD1234\" \\\n  -F \"image=@/home/smit/Pictures/Screenshots/testpng.jpeg\"\n\n```\n```json \n\n{\n    \"name\": \"John Doe\",\n    \"phone\": \"1234567210\",\n    \"email\": \"test@example.com\",\n    \"college\": \"ABC University\",\n    \"yearOfstudy\": \"2024\",\n    \"isDualBooted\": \"true\",\n    \"techOpted\": \"both\",\n    \"referralCode\": \"ABCD1234\"\n}\n\n```\n## Configuration\n\n### Basic\n\nUse year as `2024` , `2025` (4 digit year)\nUse event name as one of the following\n`Meta` `LinuxDiary` `OSD` `TechnoTweet`\n\n### MongoDB URI\n\nMake sure to replace `\"mongo sample uri\"` with your actual MongoDB connection string in the `uri` field.\n\n### User Fields\n\nThe following fields are used for user registration:\n\n```\n\"name\"\n\"phone\"\n\"email\"\n\"college\"\n\"yearOfstudy\"\n\"isDualBooted\"\n\"techOpted\"\n\"paymentScreenshot\"\n\"referralCode\"\n\nUse 1 is field is required.\nUse 0 if field is optional.\nUse -1 if field is to be omitted.\n\nNote: \"paymentScreenshot\" is used to upload the payment screenshot. See the example above (image=@/home/smit/Pictures/Screenshots/testpng.jpeg)\n```\n\n### Registration Period\n\nThe registration period is defined from [start] to [end] unix time.\n\n### Maximum Number of Users\n\nThe maximum number of users allowed.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchand-linux-users-group%2Fmetamorphosis-2k24-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalchand-linux-users-group%2Fmetamorphosis-2k24-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchand-linux-users-group%2Fmetamorphosis-2k24-backend/lists"}