The source code is for testing only and should not be used commercially. The source code comes from the Internet. If there is any infringement, please contact me to remove it.
【社区论坛APP源码】社区校园APP源码分享+含后台

Source code introduction and installation instructions:

preface

Although this project is developed using React Native, the actual experience should not be inferior to most of the native applications developed by individuals on Github.

Most of the code for this project was developed and written nearly a year ago. Due to the imperfect React Native ecosystem, there are always various community components that are unsatisfactory. Many basic components (SlideInMenu, Toast, ContextMenu, etc.) are written and animated by yourself (also drawing on many open source projects).

In addition, before writing this project, my mastery of JavaScript was only barely able to use Jquery and Ajax, but React used ES6 content, so many JS code was written according to the official website and the source code on Github. It was not a professional front-end, and the level of code writing was not high. I don't use Redux, but it's all very common and basic JS code. You can understand the code with a little understanding of ES6 classes and arrow functions.

Installation dependencies and operation

Install dependencies

pip install -r requirements.txt

database initialization

python manage.py db init

run locally

python manage.py runserver -h0.0.0.0 -p80

server deployment

The first step:

New environmental variables

export flask_server_type=”development”

At the same time, define database address and other information in config.py.

Step 2:

Start the service and recommend Gunicorn. The steps are as follows:

gunicorn -w 3 manage:app -b 0.0.0.0:8000

Step 3:

Configure nginx and forward port 80 requests to gunicorn:

sudo ln -s deployment/nginx /etc/nginx/sites-enabled/mysitename.conf

API design and documentation

The API is designed in restful API style.

There are three types of requests:

GET Get data

POST Create Data

PUT/PATCH modifies data

read more
Resource download
Price10 Meteor coin
The use is limited to testing, experiments, and research purposes. It is prohibited for all commercial operations. This team is not responsible for any illegal behavior of users during use. Please self-test all source codes! There is no guarantee of the integrity and validity of your source code. All source code is collected from the entire network
Original link:https://bcbccb.cn/en/5095.html, please indicate the source for reprinting. Disclaimer: This resource has not been authorized by the original rights holder and is not commercially available. It can only be used to learn and analyze the underlying code, CSS, etc., and is prohibited for commercial purposes. Any relevant disputes and legal liabilities arising from unauthorized commercial use shall be fully borne by the user. Everyone is responsible to support genuine copies. Please delete them within 24 hours after downloading. Thank you for your support!
1

Comments0

Cocos系列情怀源码多套精美UI界面皮肤切换全国600子游戏(带控制)
Cocos series emotions source code, multiple sets of exquisite UI interfaces, skin switching across 600 sub-games across the country (with control)
Someone bought it 5 minutes ago Go and have a look

Site Announcements

The source code (theme/plug-in/application source code) and other resources provided by this site are only for learning and exchange

Commercial use is prohibited, otherwise all consequences will be borne by the downloading user!

Some resources are collected or copied online. If they infringe on your legitimate rights and interests, please write to us.

Currently, members have a big reward, and the current price for a lifetime member is 299 gold coins.Recent price adjustments

Join quickly, opportunities wait for no one! immediately participated in

Captcha

Fast login to social accounts

en_USEnglish