Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [Feature]: TinyPro Vue优化建议 #233

Open
kagol opened this issue Dec 13, 2024 · 1 comment
Open

✨ [Feature]: TinyPro Vue优化建议 #233

kagol opened this issue Dec 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kagol
Copy link
Member

kagol commented Dec 13, 2024

来自爱笑的葱葱的建议

tinycli 创建pro项目,提几个优化点
版本: 1.1.0

  1. 引导步骤添加回到上一步
  2. 如果选择 nestjs, redis 要添加密码选项
  3. nestjs 最好也要添加git 管理
  4. .gitignore 中最好添加忽略.env文件,把.env改成.env.example, 官网最好添加配置文件的引导步骤
  5. nestjs中最好只用一种orm ,我看用了sequelize和typeorm
  6. 最好添加数据库migration引导
  7. nestjs 生成库文件的tsconfig.lib.json对子项目的相对路径引导不友好,建议改成tsconfig.json文件
  8. nestjs最好添加必要的测试,spec和e2e
  9. nestjs项目最好添加hot reload机制,优化开发体验
  10. 数据库初始化最好提供sql文件,typeorm数据库配置的初始化设置强制同步表结构,建议改成false, 由开发者手动执行sql
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: TinyPro Vue optimization suggestions

Advice from Cong Cong who loves to laugh

Create a pro project with tinycli and mention a few optimization points
Version: 1.1.0

  1. Add guided steps to return to the previous step
  2. If you choose nestjs, redis needs to add password options
  3. It is best to add git management to nestjs
  4. It is best to add in .gitignore to ignore the .env file and change .env to .env.example. It is best to add the guidance steps for the configuration file on the official website.
  5. It is best to use only one ORM in nestjs. I think sequelize and typeorm are used.
  6. It is best to add database migration guidance
  7. The tsconfig.lib.json of the library file generated by nestjs is not friendly to the relative path guidance of sub-projects. It is recommended to change it to the tsconfig.json file.
  8. nestjs is best to add necessary tests, spec and e2e
  9. It is best to add a hot reload mechanism to the nestjs project to optimize the development experience.
  10. It is best to provide a sql file for database initialization. The initialization settings of the typeorm database configuration force synchronization of the table structure. It is recommended to change it to false, and the developer manually executes sql

@kagol kagol changed the title TinyPro Vue优化建议 ✨ [Feature]: TinyPro Vue优化建议 Dec 13, 2024
@kagol kagol added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants