登录注册功能简单实现
后端后端主要实现数据库数据的请求功能,这里是增加和查询。 三个接口 用户名密码注册 用户名密码登录 用户名信息查询 手工并指导AI生成 ==》 接口测试 curl -X POST -H "Content-Type: application/json" -d "{\"username\":\"testuser\",\"password\":\"123456\"}" https://josznftwiqbd.sealoshzh.site/api/register curl -X POST -H "Content-Type: application/json" -d...
sealos+devbox快速开发Todoapp应用
核心出装: AI 项目分析一个 Todo app 应用,网页版,帅气的UI界面,能够对待办事项进行增删改查,连接数据库。 前端:vue , express框架 后端:node.js 数据库:mongodb 基本思路,vue 和 js 写好前端页面和基本功能,通过增删改查四个接口请求数据库信息,最后部署应用上线。 项目实战后端sealos 云开发平台使用 DevBox,创建项目 todoapp-server,语言选择 node.js sealos 云开发平台创建数据库,记录好数据库连接信息 使用 cursor 打开项目 todoapp-server,提示AI进行数据库连接和增删改查四个接口设置 后端提示词示例 后端提示词请为我开发一个基于 Node.js 和Express 框架的 Todo List 后端项目。项目需要实现以下四个 RESTful API 接口: 查询所有待办事项 接口名: GET /api/get-todo 功能: 从数据库的’list’集合中查询并返回所有待办事项 参数: 无 返回:...
记一次手动收入预测
这是一个基于 python 的基于收入预测支出的简单程序。 123456789101112# 每月收入x = [9558, 8835, 9313, 14990, 5564, 11227, 11806, 10242, 11999, 11630, 6906, 13850, 7483, 8090, 9465, 9938, 11414, 3200, 10731, 19880, 15500, 10343, 11100, 10020, 7587, 6120, 5386, 12038, 13360, 10885, 17010, 9247, 13050, 6691, 7890, 9070, 16899, 8975, 8650, 9100, 10990, 9184, 4811, 14890, 11313, 12547, 8300, 12400, 9853, 12890]# 每月支出y = [3171, 2183, 3091, 5928, 182, 4373, 5297, 3788, 5282, 4166, 1674, 5045, 1617, 1707,...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment