seawind8888 / Nobibi Admin
Licence: gpl-3.0
Nobibi admin
Stars: ✭ 30
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Nobibi Admin
Leaa
Leaa is a monorepo restful CMS / Admin built with Nest.js (@nestjsx/crud, node.js) and Ant Design.
Stars: ✭ 375 (+1150%)
Mutual labels: cms, antd
Tent
Content management with Github hosted Markdown as an authoritative data source
Stars: ✭ 28 (-6.67%)
Mutual labels: cms
Openpolice Platform
An open source web publishing platform for police forces.
Stars: ✭ 15 (-50%)
Mutual labels: cms
Gooreplacer
⚡️⚡️A browser extension to modify HTTP requests :-)
Stars: ✭ 850 (+2733.33%)
Mutual labels: antd
Eloquent Driver
A package that allows you to store Statamic entries in a database.
Stars: ✭ 28 (-6.67%)
Mutual labels: cms
Kickgdpr
Joomla Sytem Plugin for GDPR Google Analytics and Cookie
Stars: ✭ 15 (-50%)
Mutual labels: cms
React Antd Ie9
最新react/antd/redux/router支持到ie9; demo查看 https://heavensky.github.io/react-antd-ie9 (慢) 或 http://heavensky.gitee.io/react-antd-ie9 (快); 兼容ie8查看 https://github.com/HeavenSky/react-antd-ie8; 本项目已更新和迁移到 https://github.com/HeavenSky/webpack-frames
Stars: ✭ 12 (-60%)
Mutual labels: antd
Blender
The Laravel template used for our CMS like projects
Stars: ✭ 862 (+2773.33%)
Mutual labels: cms
Kid O
Kid-O App helps children's aid Orgs keep an overview of their children.
Stars: ✭ 29 (-3.33%)
Mutual labels: cms
Nobibi-admin
此项目为Nobibi后台管理界面,需依赖api项目Nobibi-api
运行项目
保证已启动api项目Nobibi-api
- Clone项目
git clone https://github.com/seawind8888/Nobibi-admin my-project
- 安装依赖
cd my-porject
npm install 或 yarn
- 运行项目
npm run start
部署项目
保证已启动api项目Nobibi-api
- 修改.umirc.prod.js里的配置
export default {
define: {
"process.env.API_HOST": 'http://yourapihost:port', // 你的的接口host
}
- 打包项目
运行 npm run build
- 上传dist目录下代码到远程服务器
windows&mac有异同,请自行百度或科学Goo
- 设置nginx 配置
server
{
listen 80;
# 指定可访问的域名
server_name Nobibi.com;
# 编译后的文件存放的目录
root /你的项目目录
# 因为前端使用了BrowserHistory,所以将路由 fallback 到 index.html
location / {
index index.html;
try_files $uri $uri/ /index.html;
}
}
- 重启ngxin
nginx -s reload
效果演示
功能模块
- [x] 用户管理
- [x] 角色管理
- [x] 内容管理
- [x] 评论管理
- [x] 内容分类管理
目录结构
ant-cms-admin
├── dist/ # 默认build输出目录
├── mock/ # Mock文件目录
├── public/ # 静态资源文件目录
├── src/ # 源码目录
│ ├── components/ # 组件目录
│ ├── e2e/ # e2e目录
│ ├── layouts/ # 布局目录
│ ├── locales/ # 国际化文件目录
│ ├── models/ # 数据模型目录
│ ├── pages/ # 页面组件目录
│ ├── services/ # 数据接口目录
│ │ ├── api.js # 接口配置
│ │ └── index.js # 接口输出
│ ├── themes/ # 项目样式目录
│ │ ├── default.less # 样式变量
│ │ ├── index.less # 全局样式
│ │ ├── mixin.less # 样式函数
│ │ └── vars.less # 样式变量及函数
│ ├── utils/ # 工具函数目录
│ │ ├── config.js # 项目配置
│ │ ├── constant.js # 静态常量
│ │ ├── index.js # 工具函数
│ │ ├── request.js # 异步请求函数(axios)
│ │ └── theme.js # 项目需要在js中使用到样式变量
├── .editorconfig # 编辑器配置
├── .env # 环境变量
├── .eslintrc # ESlint配置
├── .gitignore # Git忽略文件配置
├── .prettierignore # Prettier忽略文件配置
├── .prettierrc # Prettier配置
├── .stylelintrc.json # Stylelint配置
├── .travis.yml # Travis配置
└── .umirc.js # Umi配置
└── package.json # 项目信息
技术选型
- react - https://reactjs.org/
- Ant Design - https://ant.design/docs/react/introduce-cn
- Ant Design Pro - https://pro.ant.design/index-cn
- UmiJS - https://umijs.org/zh/guide/
- DvaJs(数据流) - https://dvajs.com/
- ESlint - https://cn.eslint.org/
- braft-editor(富文本) - https://github.com/margox/braft-editor
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].