43 Star 140 Fork 44

断鸿 / Poplar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Poplar

Poplar

Poplar is a social networking application written by React Native, backend server is implemented by Spring framework. I choose MySQL and Redis as persistent and cache solution. The focus of Poplar is on social and interest, enables you to build a social theme application on Poplar quickly.

github:https://github.com/lvwangbeta/Poplar

Screen Shot

detail new explore comment

screenshot

Install Poplar

git clone https://git.oschina.net/gavindlutsw/Poplar.git
cd Poplar && npm install
react-native link

double click ios/Poplar.xcodeproj run it directly from Xcode

App Configue

edit /App/api/URLConf.js to configue backend server url and image server address.

  • Application server

      const APP_SERVER_HOST = 'http://127.0.0.1:8080';
  • Image server address, upload and download images. Follow qiniu-sdk to configue qiniu image storage.

      const IMG_BASE_URL = 'http://ogj1ador4.bkt.clouddn.com/'; 

Server Configue

Make sure you have installed MySQL and Redis, edit /backend/PoplarServer/src/main/resources/spring/property.properties to configue domain and database. You can init database using /Poplar/backend/PoplarServer/doc/osf.sql

#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

Dependencies

react-native-image-crop-picker
react-native-keyboard-spacer
react-native-navbar
react-native-parallax-scroll-view
react-native-photo-view
react-native-qiniu
react-native-scrollable-tab-view
react-native-swiper
react-native-tab-navigator
react-native-wechat

Introduction

framework

Roadmap

  • support emoji
  • support third party login

License GPL

Copyright (C) 2017 Poplar

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

空文件

简介

Poplar 是一个 React Native 实现的移动内容社区App,Spring框架实现其后台服务,提供Restful API访问,MySQL、Redis作为持久存储和数据缓冲。Poplar关注社交和兴趣,使您能快速构建一个移动内容社区。 展开 收起
JavaScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/ilovexcz/Poplar.git
git@gitee.com:ilovexcz/Poplar.git
ilovexcz
Poplar
Poplar
master

搜索帮助