# warthunder-web-nodejs **Repository Path**: giteezhangyf/warthunder-web-nodejs ## Basic Information - **Project Name**: warthunder-web-nodejs - **Description**: No description available - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-28 - **Last Updated**: 2021-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # warthunder-web-nodejs ## 项目介绍 ![logo](public/img/cursor.png) Node.js 实现 warthunder-web 后端 Powered By: NodeJS + ExpressJS + MongoDB + EJS + VueJS __注:此项目纯属个人瞎搞,仅用于学习nodejs,与warthunder游戏无关。__ ## 软件架构 备注命令(仅供参考): ```sh npm install -g express-generator express --hogan -c less express --view=ejs -c stylus cnpm i express-session -s ``` ## 安装教程 把要托管的`index.html`文档(如vue的`dist/*`)放置在`client/`。 提示:初次使用,请确保MongoDB数据库已安装,`warthunder_web`数据库中的`users`集合中有`user`、`password`两个字段内容,否则无法登录。 也可以直接注释掉`routes\admin.js`文件中的`res.redirect(loginRouteUrl)`,实现无密码登录。 ```sh # 启动服务 npm install npm run dev ``` 后台管理页面默认在 http://127.0.0.1:8092/admin ## ![logo](public/favicon.ico) TODO - [x] 后端 - [x] 国家管理 - [x] 列表/修改 - [x] 增加 - [ ] 乘员组分配(ADMIN) - [x] 载具管理 - [x] 列表 - [x] 分页功能 - [ ] 搜索/搜索选择组件 - [x] 增加/修改 - [ ] 载具等级继承 - [ ] 富文本载具介绍 - [x] 用户管理 - [ ] 列表,编辑 - [ ] 用户增加时检查重复/合法用户名、密码/用户密码加密保存 - [x] 后台登录 --- - [x] 前端 - [x] 载具列表 - [x] 载具继承关系输出 - [x] 载具hover简介 - [ ] 载具富文本介绍 - [ ] 载具按国家分类 - [x] 国家/乘员组列表(ADMIN) - [ ] 用户登录 - [ ] 登录界面 - [ ] 在线状况token - [ ] 设置 - [ ] 记住上次选择的国家 - [ ] 背景是否播放视频(DEMO) - [ ] 减少动态效果