1 Star 0 Fork 189

yunlin / osf

forked from 断鸿 / osf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
readme.md 3.56 KB
一键复制 编辑 原始数据 按行查看 历史
断鸿 提交于 2015-08-23 14:09 . add github add

OSF

正如名字一样,OSF是一个开放、自由、分享的内容社区类网站原型。你会发现目前绝大多数的社交类网站、内容分享类、社区类、兴趣垂直类网站都有共同的特性,包括多用户,内容的发布、评论、喜欢,消息传递,Feed流,标签分类等等。打造OSF的初衷就是为了实现这些通用的模块,构建一个集合以上特点的内容社区类网站的原型。你可以用OSF构建一个单纯的社交网站,也可以加入标签成为一个兴趣社区,甚至两者皆可,这一切OSF都已为你提供。

welcome

主要功能

  • 邮箱注册激活验证
  • 多用户、用户间互相关注
  • 标签系统
  • Feed流
    • 关注用户Feed
    • 关注标签Feed
  • 说说、日志、相册
  • 评论、回复
  • 通知系统
  • 个人信息设置、账户安全
  • 上传图片云存储

同步提供下github地址: https://github.com/lvwangbeta/osf

Demo

此项目的Demo版演示已经部署在Coding.net http://osf.coding.io/welcome

演示用户:

邮箱 密码
osfdemo1@163.com demo123456
osfdemo2@163.com demo123456

注意:如果自行注册登录,请使用真实邮箱地址,osf会为新注册用户发送激活链接

UI

Sketch文件下载:osf_sketch

explore

技术选型

OSF选择Spring MVC作为后端基础框架,实现RESTFull url,为实现尽可能的前后端分离,除首屏数据渲染外均通过Ajax+json形式更新前端,url设计与数据交互规范见 url设计与数据交互说明

MySQL作为OSF的关系型数据库,除Feed之外的所有数据均由其存储,OSF表设计

Redis在OSF中的使用,主要缓存用户信息、统计计数,同时存储用户的Feed信息流和Tag与Feed的从属关系

配置

#domain
domain.name=localhost
domain.ip=127.0.0.1
domain.port=8080
context=com.lvwang.osf

#jdbc config
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/osf
jdbc.username=root
jdbc.password=xxxxxx


#Redis config
redis.host=localhost
redis.port=6379
redis.password=
redis.maxIdle=300
redis.maxActive=600
redis.maxWait=1000
redis.testOnBorrow=true

#mail
mail.from=examle@mailhost.com
mail.password=xxxxxx

#thumbnail style
post_cover_thumbnail=?imageView2/2/w/500
album_thumbnail=?imageView2/1/w/200/h/200

img_base_url=http://xxx.xxx.xxx/

主要设置 域,MySQL、Redis连接配置,发件人邮箱,缩略图格式,云存储域名

后续版本计划

  • 下个版本将率先实现OAuth登陆
  • 搜索功能
  • 发送链接

License GPL

Copyright (C) 2015 osf

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Java
1
https://gitee.com/yunlin-huang08/osf.git
git@gitee.com:yunlin-huang08/osf.git
yunlin-huang08
osf
osf
master

搜索帮助