A social networking application written by React Native
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5efad9b Jul 15, 2018
Permalink
Failed to load latest commit information.
.mvn/wrapper 2.0 beta Jun 14, 2018
doc 2.0 Jul 15, 2018
poplar-action-service 2.0 Jul 15, 2018
poplar-api 2.0 Jul 15, 2018
poplar-app 2.0 Jul 8, 2018
poplar-common 2.0 Jul 8, 2018
poplar-dubbo-admin 2.0 Jul 8, 2018
poplar-feed-service 2.0 Jul 15, 2018
poplar-mysql 2.0 beta Jun 14, 2018
poplar-tag-service 2.0 Jul 15, 2018
poplar-user-service 2.0 Jul 15, 2018
.gitignore 2.0 beta Jun 14, 2018
build.sh 2.0 Jul 8, 2018
mvnw 2.0 beta Jun 14, 2018
mvnw.cmd 2.0 beta Jun 14, 2018
pom.xml 2.0 beta Jun 14, 2018
poplar_init.sql 2.0 beta Jun 14, 2018
readme.md 2.0 Jul 10, 2018
show.png Add files via upload Jun 11, 2018

readme.md

Poplar

Poplar

Poplar is a social networking application written by React Native, backend is implemented based on microservice architecture. 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.

2.0 brings the following updates:

  • More unified UI style

  • Upgrade React from 15.3.2 to 16.0.0

  • Upgrade React Native from 0.36.1 to 0.50.4

  • Change to React Navigation

  • Using react-redux manage application status

  • Move Spring/Spring MVC 3.X to Spring Boot 1.5.13

  • Micro service resolution

show

Install Poplar

git clone https://github.com/lvwangbeta/Poplar.git 
cd Poplar/poplar-app && 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.

Example:

  • 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

NOTE: Make sure you have installed Maven and Docker

cd Poplar && ./build.sh

Introduction

framework

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

License MIT