All Projects → goalong → flask-demo

goalong / flask-demo

Licence: MIT license
一个使用Flask、SQLAlchemy、Mysql、Bootstrap开发的社区,实现了注册、登录、写文章、加标签、关注标签、喜爱文章、关注人、评论、评论点赞、消息通知等基本的社区功能,支持Markdown语法,所见即所得

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to flask-demo

NanoSoft
A forum system built using plain php dedicated for C#.NET Developers
Stars: ✭ 20 (-53.49%)
Mutual labels:  forum
lsp-forum
Forum plugin for Livestreet 1.0
Stars: ✭ 18 (-58.14%)
Mutual labels:  forum
ConsiderIt
For deliberation and opinion visualization
Stars: ✭ 62 (+44.19%)
Mutual labels:  forum
AskOnline--Forum
Welcome to the Ask forum – Design Help Desk, Support, Forum, Knowledge-Base Responsive Site Template. The Ask is a bootstrap design help desk, support forum website template coded and designed with bootstrap Design, Bootstrap, HTML5 and CSS. Ask ideal for wiki sites, knowledge base sites, support forum sites, ticket systems, theme documentations…
Stars: ✭ 34 (-20.93%)
Mutual labels:  forum
Forum-Advanced
This is built on Laravel Framework 5.5. This was built for demonstrate purpose.
Stars: ✭ 14 (-67.44%)
Mutual labels:  forum
vanilla-docker
A sweet Docker setup for Vanilla Forums
Stars: ✭ 34 (-20.93%)
Mutual labels:  forum
muss
Muss is a 100% open source forum developed with Django and Ember.js.
Stars: ✭ 16 (-62.79%)
Mutual labels:  forum
zusam
Private groups to share messages, photos, videos, links with friends and family.
Stars: ✭ 79 (+83.72%)
Mutual labels:  forum
FPA
The Forum Post Assistant (FPA) script has been developed to assist Joomla!® forum posters to be able to post relevant system, instance, PHP and troubleshooting information directly in to a pre-formatted forum post. This will save a few hours of posting back and forth, asking for, and explaining how to acquire useful information in order for othe…
Stars: ✭ 21 (-51.16%)
Mutual labels:  forum
material
🎨 Materialize your forum with this Flarum extension that uses the latest guidelines.
Stars: ✭ 14 (-67.44%)
Mutual labels:  forum
superhighway84
USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
Stars: ✭ 437 (+916.28%)
Mutual labels:  forum
frontend
Frontend repository / Reactive realtime forum software (currently alpha).
Stars: ✭ 13 (-69.77%)
Mutual labels:  forum
forum
real-time forum software written in javascript. could very well replace your old phpBB forum (it replaced ours). react+redux, node, postgres.
Stars: ✭ 28 (-34.88%)
Mutual labels:  forum
converse
A simple forum software
Stars: ✭ 17 (-60.47%)
Mutual labels:  forum
porter
Export legacy forums into a format Vanilla Forums can import.
Stars: ✭ 39 (-9.3%)
Mutual labels:  forum
fluxbb to flarum
🚀 FluxBB to Flarum importer
Stars: ✭ 14 (-67.44%)
Mutual labels:  forum
Rapier
Rapier skin for Kodi entertainment center
Stars: ✭ 19 (-55.81%)
Mutual labels:  forum
forumfmt
A personal tool for converting from Markdown to BBCode for SA:MP forum.
Stars: ✭ 12 (-72.09%)
Mutual labels:  forum
wordpress-vanilla
Official WordPress plugin for Vanilla Forums integration.
Stars: ✭ 18 (-58.14%)
Mutual labels:  forum
resources
Awesome resources - 网络资源
Stars: ✭ 27 (-37.21%)
Mutual labels:  forum

flask-demo

个人Flask练手项目,以pycon2014上miguel的项目为基础进行改编,实现了一个简易的 微博客,具有注册、登录、发博客、关注、评论等功能. ###使用说明

  1. git clone https://github.com/goalong/flask-demo.git
  2. cd flask-demo
  3. virtualenv venv
  4. source venv/bin/activate
  5. pip install -r requirements_dev.txt
  6. python manage.py runserver
  7. 打开浏览器,在地址栏输入http://localhost:5000/
  8. 注册用户,在终端输入 python manage.py adduser

Todo

1.文章的收藏 delay 2.文章的喜欢或者赞同, 赞同应该不近包括文章,还可以对评论,以及可能的其他对象 3.文章加标签 4.迁移python3 5.迁移使用mysql 6.第三方依赖升级, 已完成 7.消息,如被关注会有消息,被点赞会有消息 8. 重新设计comment,允许回复评论, 滚动到哪个评论才会在哪个评论那里出现回复的入口,参考果库的评论设计,评论的点赞和回复 9. 改版评论,评论应该作为社区的主题予以重视,参考v站的形式,不分父评论和子评论,扁平化,所有评论是平行的平等的, 10, 赞同按钮点击之后变色,再点击恢复,参考果库图文,优先级不高

加一个标签的列表页 应用一个所见即所得的编辑器 重要

给每一个评论一个特定的URL,方便跳转到

###Finish 评论扁平排版 评论的点赞 文章的评论以及对评论的回复已经搞定, 审查一下原来的关注及取关的表结构的模型,看看有没有问题,现在的需要改进,因为自己都看不懂了 加了标签,还需要一个标签展示页面

可以设计一个如同豆瓣的豆单那种的功能,一个聚合同类型对象的列表

其实user_approve这个表应该拆分出几种(因为这个表的记录增长会很快),对文章的赞同是一个表,对评论的赞同是一个表,

类似知乎的组织方式

update

主要的代码都是三年前的了,定义model时用了许多的外键和关系,现在看来是不必要的,不过也不打算修改了, 原本就是个玩具,意义不大。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].