Coder Social home page Coder Social logo

yanxi-me / nodejs-wiki Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 9.0 643 KB

本系统构建在node.js上,是面向个人的知识管理系统,可以随时添加、编辑和查看你的页面,不断积累各方面知识。

JavaScript 98.91% CSS 1.09%

nodejs-wiki's Introduction

本系统长期停止更新,请勿使用

本系统构建在node.js上,是面向个人的知识管理系统,可以随时添加、编辑和查看你的页面,不断积累各方面知识。

作为一个完全开源的 node.js 项目,希望对 node.js 感兴趣的朋友可以积极贡献,共同来完善。

作者微博: http://weibo.com/yanxicom

######特性

  • 移动设备支持良好,便于手机随时操作
  • 打开浏览器就能工作,手机和电脑通用
  • 私密性好,登陆后才能查看
  • 采用流行的Wiki语法,页面内容丰富多彩
  • 创建页面数量没有限制
  • 支持子页面,并能创建无限级子页面

安装指南

  • 安装 mongodb 数据库
  • 安装 node.js 环境
  • 下载本项目 最新版 zip 压缩包
  • 进入项目目录,运行 npm install
  • 创建 logs 文件夹,用于存放 log
  • 复制 config.original.js 到 config.js, 并更新相关配置
  • 启动 node.js node app.js
Mongodb 索引
db.users.ensureIndex( { email: 1 }, {unique : true} );
db.users.ensureIndex( { qqUid: 1 } );
db.pages.ensureIndex( { userId: 1 } );
db.pages.ensureIndex( { parentId: 1 } );
db.pages.ensureIndex( { parentId: 1, title: 1 }, {unique : true} );

技术一览

服务器端
  • node.js 首次将javascript用于服务器端,事件驱动,无阻挡IO
  • express 目前node.js非常流行的一款 MVC 框架
  • underscore.js 工具库(也用于客户端)
  • ejs 模板语言
客户端
  • jQuery 神一样的框架,居家旅行必备
  • jQuery Mobile 适合PC和移动设备,不用做多个版本
  • require.js 所有javascript都统一管理,使html代码看起来非常简洁清晰
数据持久层
  • Mongodb 面向文档的数据库
  • Mongoose 用于node.js的API接口,访问数据库就像操作本地对象

nodejs-wiki's People

Contributors

yanxi123-com avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nodejs-wiki's Issues

Cleanup non issue

When my account was compromised a spam issue was created in this repo. I sincerely apologize. Cleaning up such issues via script.

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.