{"id":21625864,"url":"https://github.com/debbl/todo","last_synced_at":"2026-05-04T15:34:18.803Z","repository":{"id":114467766,"uuid":"286614272","full_name":"Debbl/ToDo","owner":"Debbl","description":"to do","archived":false,"fork":false,"pushed_at":"2021-02-19T08:31:11.000Z","size":4860,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-22T20:33:14.383Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Debbl.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":"2020-08-11T01:18:18.000Z","updated_at":"2020-12-15T13:33:58.000Z","dependencies_parsed_at":"2023-06-08T06:30:35.166Z","dependency_job_id":null,"html_url":"https://github.com/Debbl/ToDo","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Debbl/ToDo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2FToDo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2FToDo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2FToDo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2FToDo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Debbl","download_url":"https://codeload.github.com/Debbl/ToDo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debbl%2FToDo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32613450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-25T01:11:00.546Z","updated_at":"2026-05-04T15:34:18.785Z","avatar_url":"https://github.com/Debbl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 演示地址\nhttp://td.qwebnm.top\n### 项目介绍\n\n- 该项目采用前后端分离技术前端负责数据的展示和与用户的交互，后端用来处理前端发来的请求。前后端通过json进行数据传输\n\n### 实现功能\n\n- 用户登录\n- 用户注册\n- 任务查询\n- 任务添加\n- 任务删除\n- ~~使用cookie实现浏览器缓存，避免重复登录~~\n\n\n\n### 后端使用技术\n\n- Maven-3.3.9\n- Tomcat-8.5.56\n- servlet-3.1.0\n- mysql-5.7.31\n\n### 前端使用技术\n\n- vue-2.6.11\n- axios-v0.19.2\n\n###  项目结构\n\n```\nToDO\n|--_sql sql脚本\n|--todo-api 后端\n|--todo-ui  前端\n```\n\n### 安装教程\n\n- 使用Maven打包项目\n- 生成的war包放到tomcat的webapps目录\n- MySQL创建todo数据库，执行_sql文件下的sql脚本\n- JDBC配置文件：ToDo/todo-api/src/main/resources/todoJdbc.properties 改成自己的数据库地址，用户名密码\n- 前端配置文件：ToDo\\todo-ui\\js\\todo.js 把文件中的apiUrl 改成自己的后端地址\n- 演示地址：http://td.qwebnm.top\n\n\n\n\n\n### API接口文档\n\n**url为后端服务器的地址**\n\n\u003e 用户登录和注册\n\u003e\n\u003e - url: http://localhost:8080/todo/user\n\u003e\n\u003e - 请求方式: GET\n\u003e\n\u003e - 请求参数: \n\u003e\n\u003e | 参数名 | 参数说明 |   值   |        备注        |\n\u003e | :----: | :------: | :----: | :----------------: |\n\u003e | uname  |  用户名  | 用户名 | 没有的用户自动添加 |\n\u003e\n\u003e - 查询用户响应内容:\n\u003e\n\u003e ```json\n\u003e {\n\u003e     \"uid\": \"1\",\n\u003e     \"uname\": \"用户一\",\n\u003e     \"isAddUser\": false,\n\u003e     \"isRegistered\": true\n\u003e }\n\u003e ```\n\u003e\n\u003e - 添加用户返回结果:\n\u003e\n\u003e ```json\n\u003e {\n\u003e     \"isRegistered\": false,\n\u003e     \"isAddUser\": true\n\u003e }\n\u003e ```\n\u003e\n\u003e \n\n\n\n\u003e用户任务查询\n\u003e\n\u003e- url: http://localhost:8080/todo/tasks\n\u003e\n\u003e- 请求方式: GET\n\u003e\n\u003e- 请求参数:\n\u003e\n\u003e| 参数名 | 参数说明 |    值     |   备注   |\n\u003e| :----: | :------: | :-------: | :------: |\n\u003e|  type  | 请求类型 | QueryTask | 查询数据 |\n\u003e|  tuid  | 用户编号 | 用户编号  | 用户编号 |\n\u003e\n\u003e- 响应内容:\n\u003e\n\u003e```json\n\u003e{\n\u003e    \"tasks\": {\n\u003e      \"1\": \"任务1\",\n\u003e      \"2\": \"任务2\",\n\u003e      \"3\": \"任务3\"\n\u003e    },\n\u003e    \"sum\": 3\n\u003e}\n\u003e```\n\n\n\n\u003e添加任务\n\u003e\n\u003e- url: http://localhost:8080/todo/tasks\n\u003e\n\u003e- 请求方式: GET\n\u003e\n\u003e- 请求参数:\n\u003e\n\u003e| 参数名 | 参数说明 |    值    |   备注   |\n\u003e| :----: | :------: | :------: | :------: |\n\u003e|  type  | 请求类型 | AddTask  | 添加任务 |\n\u003e|  task  | 任务内容 | 任务内容 | 任务内容 |\n\u003e|  tuid  | 用户编号 | 用户编号 | 用户编号 |\n\u003e\n\u003e- 响应内容:\n\u003e\n\u003e```json\n\u003e{\n\u003e     \"addTask\": true\n\u003e}\n\u003e```\n\u003e\n\n\n\n\u003e 删除任务\n\u003e\n\u003e - url: http://localhost:8080/todo/delete\n\u003e\n\u003e - 请求方式:GET\n\u003e\n\u003e - 请求参数:\n\u003e\n\u003e | 参数名 | 参数说明 |    值    |   备注   |\n\u003e | :----: | :------: | :------: | :------: |\n\u003e | count  | 任务编号 | 任务编号 | 任务编号 |\n\u003e\n\u003e - 响应内容:\n\u003e\n\u003e ```json\n\u003e {\n\u003e     \"deleteTask\": true\n\u003e }\n\u003e ```\n\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebbl%2Ftodo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebbl%2Ftodo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebbl%2Ftodo/lists"}