A common CMS based on react,antd and nodejs. The back-end datebase is mysql.The system has the auto-generate-code tool, you can generate controller and datebase mapper file automaticly.. If you has any suggestions, please give a issue to me. Thank you .
1 If you are in china , I suggest you set npm registry to TaoBao.com ,
npm set registry https://registry.npm.taobao.org
2 Run npm i in the shell to install dependances.
3 Import the sql file in the project root path.
npm run dev and open localhost:8886
How to add a coomponent in a project?
As you can see, there is no content of the corresponding menus, but how can I add content to the menus ? Please follow the following steps:
All the menus are sotred in the mysql database. For example, if the menu's url is "/index/SysOrgControl/skiporganizPage".
Make a dir called SysOrgControl in index dir. Like the following pic.
Make a tsx file in the SysOrgControl that I just established.
Write something in the SysOrgControl.tsx , then you can see the things you just wrote!
The final result is like this :
The files I just made: The final result:
The project is based on MIT , and just learning for the beginners ! Please git a issue to me if you find any bug!