Giter Site home page Giter Site logo

cmmkj / forim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from calidion/forim-deprecated

0.0 1.0 0.0 9.73 MB

一个基于node的论坛,im系统,简称forim。由于demo服务器在openshift有时更新会出现问题,过一段时间再访问就可以了。

Home Page: http://forum.webfullstack.me

License: Other

Shell 0.01% JavaScript 88.56% HTML 2.87% CSS 8.56%

forim's Introduction

forim NPM version Build Status Dependency Status Coverage percentage

一个基于node的论坛, im系统, 简称forim

介绍

Node Forum Im 是基于node club修改的社区系统。 未来将会移除全部的nodeclub代码。 实例布署在forum.webfullstack.com

目标

一个只提供API的论坛IM系统,支持cors,支持多客户端访问,支持Socket.io。

  1. 支持个人与个人的交流
  2. 支持围绕话题讨论,即标签化话题,去中心化
  3. 支持订阅自己喜欢的话题、作者
  4. 支持系统之间共享用户与数据
  5. 全面的API设计,基于EGG API(未来会重命名为vig api)
  6. 企业服务中立,优先支持用户多的以及价值观先进的

技术栈

服务器技术栈: Node.js,vig轻量级Web框架

客户端:

  1. Web: angular 2.x+
  2. 手机: PhoneGap/Cordova + Web
  3. 桌面: Electron.js + Web

支持与交流

QQ群:312685910

最新改进

使用vig框架加速开发,采用waterline驱动数据库,可以方便用户自由的选择低层的数据库。

支持Nodejs版本

V4.0+

参数配置

forim是基于参数配置的论坛系统,所以在安装前需要进行参数配置。然后直接下载源码运行即可。 配置参数在lib/config.js文件里可以找到。

能shell里需要配置: FORIM_XXX 这样的参数。

安装部署

说明:论坛使用的是mongodb数据库

  1. 安装 Node.js[必须] MongoDB[必须] Redis[必须]
  2. 启动 MongoDB 和 Redis
  3. $ npm i 安装 node weixin forum 的依赖包
  4. $ gulp 确保各项服务都正常
  5. $ node lib/index.js
  6. visit http://localhost:3000
  7. 完成

测试

$ gulp

跑测试

$ gulp test    # 测试代码
$ gulp less    # 生成less结果

跑覆盖率测试

$ gulp coveralls

说明

由于差异过大,本项目的源代码可能不会再与原项目合并

License

Apache-2.0 © calidion
MIT (旧代码)

forim's People

Contributors

alsotang avatar fengmk2 avatar tiye avatar greenkeeperio-bot avatar jacksontian avatar huacnlee avatar dead-horse avatar calidion avatar leizongmin avatar strwind avatar vfasky avatar kennyz avatar muyuan avatar yorkie avatar young40 avatar vuekit avatar ricardo-li avatar lanceli avatar ravenwang avatar aisk avatar hylin avatar ericzhang-cn avatar davidcai1111 avatar jysperm avatar jsonshen avatar matrixbirds avatar nosqldb avatar netpi avatar 119786155 avatar feitian124 avatar

Watchers

cmmkj 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.