# topic-api **Repository Path**: brad-wen/topic-api ## Basic Information - **Project Name**: topic-api - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-02-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Lumen PHP Framework ## Official Documentation Documentation for the framework can be found on the [Lumen website](https://lumen.laravel.com/docs). ## Contributing Thank you for considering contributing to Lumen! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Install ``` git clone git@gitee.com:brad-wen/topic-api.git 复制 .env.example 为 .env 并根据个人环境配置参数 composer install 执行迁移 php artisan migrate 生成JWT_SECRET php artisan jwt:secret 生成RSA证书文件(个人环境路径可能不同,根据报错自行解决) php artisan ExportOpenSSLFile ``` ## PHP API 开发规范基本约定 [coding-guide.md](coding-guide.md) ## 文档 API 接口指南 [api-interface-guide.md](api-interface-guide.md) 客户端密码加密规则 [password-encrypt-rule.md](password-encrypt-rule.md) JWT授权说明 [jwt.md](jwt.md) ## TODO - [x] 初始化项目 - [x] 设计数据表并创建迁移文件 - [x] jwt验证中间件 - [x] 注册、登录、退出 - [ ] 设置头像、简介 - [ ] 修改密码 - [x] 发表话题 - [x] 话题列表 - [x] 话题详情 - [x] 话题评论