5分钟内构建您自己的照片共享应用程序

网友投稿 755 2022-10-26

5分钟内构建您自己的照片共享应用程序

5分钟内构建您自己的照片共享应用程序

Introduction

I made a vecihi that provides your own photo sharing app like Instagram in 5 minutes for ios and android. In app side, i used react-native also django for the backend side. Also, many components can be used for your own startup or new project. *

Table of Contents

InstallationDeploymentTODOGetting StartedFeaturesScreensContributingLicense

Installation

For Backend : Before start, please cd into Backend folder. I didn't want to split backend and front-end in the different repository.

virtualenv env -p python2source env/bin/activepip install -r requirements.txtpython manage.py migratepython manage.py createsuperuserpython manage.py runserver --settings='config.settings.local'

For React Native :

npm installreact-native linkreact-native run-android orreact-native run-ios

Deployment

Before start, please change Backend/ansible/hosts and Backend/ansible/vars.yml with your own infos.

ansible-playbook -i hosts deploy.yml -vansible-playbook -i hosts provision.yml -v

When the installation completed, add your api url to config.py.

TODO

Real time chat Videos Support Stories (I've already implemented it but not yet used) Change our Components with Presentational and Container Components [Dan Abramov's article] (https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0) Use Redux (Why I didn't use in the first init I dont know :()

Getting Started

Before start, you should add your server ip adress (http://127.0.0.1:8000/ or server ip) to config.js

Features

Take or upload a photo

See Who Visited Your Profile

Discover Most Popular Posts

Vote Images and see avarage points

No Private Profile

Django provides a admin page for you

Api Documentation (You can see list of api urls)

Api Call Example

Screens

Splash

Register

Department field is university major. If you don't want use in your own project, you can remove( Be sure that you changed required=False in backend Side. I'll handle with this in the future)

Login

Home

Post Detail

Discover

Profile

Camera

Photo Library

Preview

Edit

Who Visited Your Profile

Edit Your Profile

Contributing

Fork the repoBranch it in your development environment (this is required if only you are willing to contribute frequently)Hack inMake a pull requestChill

License

MIT License

Copyright (c) 2018 Yasin Toy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:JVM的垃圾回收机制真是通俗易懂
下一篇:Watermill 一个用来构建事件驱动应用程序的Go库
相关文章

 发表评论

暂时没有评论,来抢沙发吧~