GithubHelp home page GithubHelp logo

paul-xia / nodecms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linksgo2011/nodecms

0.0 2.0 0.0 14.89 MB

a cms created by nodejs

Home Page: http://nodecms.duapp.com/

JavaScript 76.46% CSS 22.99% HTML 0.54% Batchfile 0.01%

nodecms's Introduction

介绍

学习nodejs入门项目,数据库使用的MySQL。 使用nodejs 开发定位于企业网站的简易CMS,目标为容易拓展、部署,前端开发者容易使用的CMS系统。

特性

  • 使用nodejs 开发,为前端开发者准备的,前后端都使用JS,做个企业网站就很容易了
  • 简单(其实是懒),主要是首页、根据数据模型的列表页、详情页,单页,满足一般企业站点需要
  • 容易拓展,功能不满足可以容易拓展
  • 多模板
  • 支持不同模型列表、详情指定模板,更加灵活嵌入单页

安装

  • 使用 克隆或直接下载项目到本地

      git clone https://github.com/linksgo2011/nodecms.git
    
  • 在根目录下使用命令行执行下面代码,安装nodejs 依赖的模块

      npm install 
    
  • 在根目录下找到nodecms.sql文件,导入到你的MySQL数据库中

  • 修改config/connections.js 文件,根据上一步的数据库信息,修改数据库连接

      // 修改数据库连接地址
      someMysqlServer: {
          host: 'localhost',
          user: 'root',
          password: '',
          database: 'nodecms'
      },
    
  • 启动项目

      node app.js
    

预览

demo 地址 http://nodecms.duapp.com/

后台地址 /admin/user/login
默认用户 admin admin

贡献代码

[email protected]

nodecms's People

Contributors

linksgo2011 avatar

Watchers

James Cloos avatar  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.