Skip to content

关于天工开源

1、天工介绍

🍓 TG(Tiangong天工开源项目)

天工项目地址
(🍓Github)[https://github.com/NexusLin/TianGong]
(Gitee)[https://github.com/NexusLin/TianGong]

🍓 理念初衷

项目地址
理念最简单的便是最好的
初衷最简单的便是最好的
开源协议MIT开源协议

🍓 项目模块与技术栈

项目模块相关技术栈开发状态备注
👉 NexusApi(后端开发)Node后端Node.js, Express, Mysql,JWT, WebSocket,MongoDB完善阶段
👉 NexusVueProVue3+TS前端Vue 3, Vue Router 5, Composition API, vite,TypeScript,ES Modules开发中
👉 NexusReact(前端开发)React 前端React,React 18, React Router 6, Redux,JSX,开发中
👉 NexusVueVue3+js前端Vue 3, Vite, JavaScriptComposition API, ES Modules极简版Vue
👉 NexusApp小程序端微信小程序 SDK, uniapp,微信开发者工具开发中
👉 NexusNestNest版本开发中
👉 NexusNextNext版本SSR、SSG开发中
👉 NexusNuxtNuxt版本SSR、SSG开发中
👉 NexusTaro(移动端开发)Uniapp Taro端Uni-app微信小程序, 安卓, iOS开发中
👉 NexusAppMobile安卓, iOS (Java, Kotlin, Swift)Java, Kotlin, Swift开发中
👉 NexusApiJavaJava 后端Java, SpringBoot, MySQL,RedisSpring Security, JPA, Hibernate开发中
👉 NexusRustRust 后端Rust, Actix, PostgreSQLWebAssembly, Tokio搁置中
👉 NexusRNReact NativeReact Native, Expo, ReduxNavigation, AsyncStorage搁置中
👉 NexusHarmony (系统开发)鸿蒙端HarmonyOS SDK, 鸿蒙系统ArkTS, UI Framework计划中
👉 NexusElectron(桌面应用开发)Electron端Electron, React, Node.jsWebpack, Electron API开发中

🍓 项目运行和环境依赖

项目环境
(数据库环境)Mysql 8.3.0
(后端Tapi环境)Node v20.12.0
(前端环境)Node v20.12.0

🍓项目信息

👉Tapi端口
api 后台接口端口号8888
ws服务器日志端口号3000
ws服务器通告端口号3001

2、TG run

👉mysql(启动mysql)

js
mysql -u root -p

👉Tapi(启动后台)

🍓全局安装nodemon

JS
npm install -g nodemon
nodemon app

//run 
node app
or
nodemon app(全局安装nodemon)

👉Tvue3

JS
yarn 或者 yarn install

//How to start
yarn dev

//How to pack部署
yarn build

👉yarn build:stage // 测试(开发环境)

👉yarn build:prod // 线上(生产环境)

👉Tapp

JS
// the app part
导入HbuildX运行即可

👉 Treact(the react part )

JS
React18+TS+redux
Redux-toolkit,
React-Router-Dom,
TypeScript,
Ant design,
Axios,
Scss,
tailWindCss
  • 👉 run
JS

yarn or yarn install

How to start
yarn start

How to pack
yarn build

Functions List

👉 Complete

JS
🔺 User management
User management (adding, editing, searching, deleting, data permissions, refreshing cache)

The user is the system operator, and this function mainly completes the addition, deletion, modification, and query of system users

🔺 register
🔺 Sign in
🔺 Webscoket Chat

👉On the way

JS
▲ Role Management (Add, Edit, Search, Delete, Permission Management) 
▲ Product Management (Add, Edit, Search, Delete) 
▲ Transaction Order (Add, Edit, Search, Delete)
▲ Payment Configuration (Add, Edit, Search, Delete) 
▲ System Environment Variables (Add, Edit, Search, Delete)
▲ Permission Management (Add, Edit, Search, Delete, Configure Permissions)
▲ Menu Management (Add, Edit, Search, Delete) 
▲ Company Management (Add, Edit, Search, Delete)

参与贡献

👉 关于作者

🚀 Summarize all the technical and related articles under the current blog (like, collect, and constantly update) (点赞收藏+不断更新)

(给个star⭐️ba!)

Released under the MIT License.