{"id":26897432,"url":"https://github.com/guomaimang/jade","last_synced_at":"2026-04-11T13:07:38.774Z","repository":{"id":267753589,"uuid":"877961340","full_name":"guomaimang/Jade","owner":"guomaimang","description":"JADE is a social application that means to revolutionalize the way travelers meet and document their journeys through the integration of social networking and travel related functions.","archived":false,"fork":false,"pushed_at":"2025-03-19T18:21:35.000Z","size":5053,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T19:28:58.704Z","etag":null,"topics":["android","azure","devops","java","kotlin"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/hanjiaming/jade","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guomaimang.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-24T14:37:07.000Z","updated_at":"2025-03-19T18:24:43.000Z","dependencies_parsed_at":"2024-12-12T08:29:44.744Z","dependency_job_id":"9890d6e7-c616-4ec6-a69f-c3e5aca5e7dd","html_url":"https://github.com/guomaimang/Jade","commit_stats":null,"previous_names":["guomaimang/jade"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guomaimang%2FJade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guomaimang%2FJade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guomaimang%2FJade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guomaimang%2FJade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guomaimang","download_url":"https://codeload.github.com/guomaimang/Jade/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586072,"owners_count":20801026,"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":["android","azure","devops","java","kotlin"],"created_at":"2025-04-01T04:42:31.552Z","updated_at":"2025-12-30T23:14:33.024Z","avatar_url":"https://github.com/guomaimang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jade\n\nJADE is a social application that means to revolutionalize the way travelers meet and document their journeys through the integration of social networking and travel related functions.\n\n![cover](https://raw.githubusercontent.com/guomaimang/Jade/refs/heads/main/cover.png)\n\nJade是基于Spring Boot和Android的现代化全栈应用程序，提供了后端服务和移动端前端应用。\n\n## 项目结构\n\n- `Server/`: 后端服务，基于Spring Boot实现\n  - `jade/`: Spring Boot应用源码\n  - `database/`: 数据库脚本\n- `FrontEnd/`: 前端应用\n  - `Jade/`: Android应用项目\n\n## 技术栈\n\n### 后端\n- Spring Boot 3.3.5\n- Java 17+\n- MySQL 8.4.0\n- Redis\n- JWT认证\n- Azure AD OAuth2集成\n- Kafka消息队列\n\n### 前端\n- Android (Kotlin)\n- Gradle Kotlin DSL构建\n\n## 功能特性\n\n- 用户认证与授权（支持JWT和Azure AD SSO）\n- 数据存储与检索\n- 文件上传与管理\n- 消息通知系统\n- RESTful API接口\n\n## 开发环境配置\n\n### 后端要求\n- JDK 17+\n- Maven 3.9+\n- MySQL 8.4.0\n- Redis\n\n### 前端要求\n- Android Studio\n- Gradle 8.0+\n\n## 构建与运行\n\n### 后端\n\n1. 导入数据库脚本\n```bash\nmysql -u username -p jade \u003c Server/database/jade.sql\n```\n\n2. 配置环境变量或修改配置文件\n3. 使用Maven构建\n```bash\ncd Server/jade\nmvn clean package\n```\n\n4. 运行应用\n```bash\njava -jar target/jade-0.0.1-SNAPSHOT.jar\n```\n\n### 前端\n\n1. 使用Android Studio打开`FrontEnd/Jade`目录\n2. 配置应用连接到后端服务\n3. 构建并运行应用\n\n## Deployment\n\n### Docker\n\n您可以使用Docker快速部署后端服务。首先，将SQL脚本导入到MySQL数据库中（MySQL 8.4.0）。\n\n```bash\ndocker run -p 3127:8080 -d --name jade \\\n           -e MYSQL_URL=\"jdbc:mysql://172.17.0.1:3306/jade?useUnicode=true\u0026characterEncoding=utf-8\u0026useSSL=false\u0026useAffectedRows=true\u0026allowPublicKeyRetrieval=true\" \\\n           -e MYSQL_USERNAME=jade \\\n           -e MYSQL_PASSWORD=123456 -e REDIS_HOST=172.17.0.1 \\\n           -e REDIS_PORT=6379 \\\n           -e REDIS_PASSWORD=1234  \\\n           -e REDIS_DATABASE=4  \\\n           -e AZURE_AD_CLIENT_ID=12345 \\\n           -e AZURE_AD_CLIENT_SECRET=23456\nhanjiaming/jade:latest\n```\n\n请根据您的环境修改环境变量。\n\n### 环境变量\n\n以下是可配置的环境变量：\n\n| 变量名 | 描述 | 默认值 |\n|---|---|---|\n| MYSQL_URL | MySQL数据库连接URL | jdbc:mysql://172.17.0.1:3306/jade?useUnicode=true\u0026characterEncoding=utf-8\u0026useSSL=false\u0026useAffectedRows=true\u0026allowPublicKeyRetrieval=true |\n| MYSQL_USERNAME | MySQL用户名 | jade |\n| MYSQL_PASSWORD | MySQL密码 | 123456 |\n| REDIS_HOST | Redis主机 | 172.17.0.1 |\n| REDIS_PORT | Redis端口 | 6379 |\n| REDIS_PASSWORD | Redis密码 | 1234 |\n| REDIS_DATABASE | Redis数据库索引 | 4 |\n| PICTURES_PATH | 图片存储路径 | resource |\n| PICTURES_MAX_SIZE | 图片最大大小 | 10MB |\n| JWT_SIGN_KEY | JWT签名密钥 | NuwhbujHwsvJpwq2peJGkw23ejTmhqoqh2tydkei9izheoo9 |\n| JWT_EXPIRE_PERIOD | JWT过期时间（毫秒） | 1209600000 |\n| AZURE_AD_CLIENT_ID | Azure AD客户端ID | 12345 |\n| AZURE_AD_CLIENT_SECRET | Azure AD客户端密钥 | 23456 |\n| AZURE_AD_TENANT_ID | Azure AD租户ID | common |\n| AZURE_AD_REDIRECT_URI | OAuth2重定向URI | http://localhost:8080/oauth2.html |\n| KAFKA_BOOTSTRAP_SERVERS | Kafka服务器地址 | 10.1.0.8:9092 |\n\n## 开源许可\n\n本项目基于LICENSE文件中指定的许可协议开源。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguomaimang%2Fjade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguomaimang%2Fjade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguomaimang%2Fjade/lists"}