Socket
Socket
Sign inDemoInstall

bms-react

Package Overview
Dependencies
115
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bms-react

> 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


Version published
Maintainers
1
Created

Readme

Source

BMS-React

Introduce

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 .

Interface

login page

login

index page

index

Project Structure

Structure

Install

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.

4 Run 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: files The final result: files

Finally

The project is based on MIT , and just learning for the beginners ! Please git a issue to me if you find any bug!

Keywords

FAQs

Last updated on 16 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc