Git Product home page Git Product logo

blog_node's Introduction

blog

这是一个博客, 基于jquery, node, express, swig, mongoDB, mongoose等.

项目结构

  • db 数据库
  • models 数据库模型
    • Category.js 博客类别
    • Content.js 博客文章
    • User.js 博客用户
  • public 静态文件夹
    • css 样式
    • fontAwesome 字体文件
    • fontFamily 字体文件
    • images
    • js
  • routes 路由配置
    • admin.js 管理员路由配置
    • api.js 接口路由
    • main.js 首页路由配置
  • schemas 表文件
    • Category.js 博客类别
    • Content.js 博客文章
    • User.js 博客用户
  • view 页面文件夹
    • admin 管理员界面
    • components 公共组件
    • main 博客首页
  • webpack
    • basic 公共配置
    • dev 开发环境
    • prod 生产环境
  • app.js 入口文件
  • package.json 配置信息

启动项目

  1. 启动服务器

cd 到mongod所在的bin目录 $ cd D:\MongoDB\Server\3.6\bin $ .\mongod --dbpath=E:\git\blog\db --port=27018

  1. 连接服务器

可以通过robomongo这个工具软件来建立连接

  1. 启动项目

$ node app.js

当前效果图

homePage: alt text admin_homepage: alt text users: alt text category: alt text content: alt text

项目尚不完整!!!

blog_node's People

Contributors

shuwang-wu avatar

Watchers

 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.