Giter Club home page Giter Club logo

nodejs-mysql-cms's Introduction

nodejs-mysql-cms

基于nodejs + express + mysql2构建的CMS管理系统

安装api文档插件

npm i apidoc -g

进入项目

cd {项目目录}

安装依赖包,必须cnpm

$ cnpm i

还原数据库

  1. 安装数据库mysql8,navicate界面管理工具
  2. 在mysql中创建cms数据库
  3. 右键菜单,运行sql文件,将cms.sql文件还原至cms数据库
  4. 在config文件夹mysql.js文件,配置数据库、账户、密码;

重新生成API文档

$ npm run api

启动

$ npm start

后台API文档地址

http://localhost:3001/api/

nodejs-mysql-cms's People

Contributors

millet0328 avatar

Stargazers

 avatar Roman avatar Quanda avatar wangwencong avatar  avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.