{"id":20200791,"url":"https://github.com/dapp-learning-dao/official-website-backend","last_synced_at":"2025-04-10T11:21:12.786Z","repository":{"id":196485636,"uuid":"696218518","full_name":"Dapp-Learning-DAO/Official-website-backend","owner":"Dapp-Learning-DAO","description":"backend  of official website","archived":false,"fork":false,"pushed_at":"2024-04-13T09:56:27.000Z","size":1448,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-14T00:55:37.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dapp-Learning-DAO.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-09-25T10:26:37.000Z","updated_at":"2024-04-15T07:39:20.796Z","dependencies_parsed_at":null,"dependency_job_id":"b1fc8e46-d016-49aa-9189-73f474570fc5","html_url":"https://github.com/Dapp-Learning-DAO/Official-website-backend","commit_stats":null,"previous_names":["dapp-learning-dao/official-website-backend"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dapp-Learning-DAO%2FOfficial-website-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dapp-Learning-DAO%2FOfficial-website-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dapp-Learning-DAO%2FOfficial-website-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dapp-Learning-DAO%2FOfficial-website-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dapp-Learning-DAO","download_url":"https://codeload.github.com/Dapp-Learning-DAO/Official-website-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208603,"owners_count":21065203,"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-14T04:45:41.356Z","updated_at":"2025-04-10T11:21:12.763Z","avatar_url":"https://github.com/Dapp-Learning-DAO.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Official-website-backend\nbackend  of official website\n\n## interface for front-end\nsee :  \n\nhttps://www.postman.com/lively-station-290552/workspace/publicworkspace/collection/13180077-af411142-dfd4-4e33-bfb5-ec26ff095072 \n\nhttps://hoppscotch.io/    \n\n## login xyz\nhttps://github.com/spruceid/siwe-go/blob/main/message.go\n\n\n## Run\n mysql: pls docker run mysql \n ipfs:  pls docker run ipfs node \n https://medium.com/@borepstein/running-an-ipfs-node-as-a-docker-container-on-a-private-network-4c0186aeca61\n\n## build\n```\n  ssh root@ip\n ./gradlew build -x test\n  scp ./dist/apps/dl.jar  root@ip:/root/Official-website-backend/dist/apps\n\n```\n42090FB96DF8B814C12CAEA86A62103BEFDA22A3263641D139E56E1498EBCE0B\n## IPFS data\n/root/graph-node/docker/data/ipfs\n\n## COS file \nhttps://dlh-1257682033.cos.ap-hongkong.myqcloud.com/{uuid}\n\n## graph ql 集成\n生产 ：https://api.studio.thegraph.com/proxy/55957/dapp-learning-redpacket/version/latest\n测试： https://api.studio.thegraph.com/proxy/55957/redpacket-/version/latest/graphql\n\n```agsl\n{\n  redpackets  {\n                id   \n    happyRedPacketId\n    \t\t\t\tname\n                    refunded\n                 allClaimed  \n                     claimers {\n                      claimer\n                    } \n                  }\n}\n```\n\n## TODO\n1. 头像 简历\n2. 红包改造，奖励认领自动化。\n3. team system. 支持member加入team。 \n4.\n\n## 参考链接\n- Cors: https://cloud.tencent.com/developer/article/1924258\n- session: https://www.cnblogs.com/RudeCrab/p/14251154.html\n- upload pic: https://juejin.cn/post/6844903630416379918  \n- JPA query: https://spring.io/blog/2011/04/26/advanced-spring-data-jpa-specifications-and-querydsl\n-  JPA :  https://www.baeldung.com/hibernate-criteria-queries\n- session filter:  https://blog.csdn.net/dothetrick/article/details/110356640\n- cos： https://cloud.tencent.com/developer/article/1559746\n- cos download: https://blog.csdn.net/qq_43960768/article/details/126731733 \n- twitter: https://rohankadam965.medium.com/how-to-implement-oauth-social-login-using-twitter-spring-boot-java-part-2-acff7f4b255a\n- gmail: https://stackoverflow.com/questions/74317936/send-email-with-gmail-using-java/77074075#77074075","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapp-learning-dao%2Fofficial-website-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdapp-learning-dao%2Fofficial-website-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapp-learning-dao%2Fofficial-website-backend/lists"}