A simple forum web application

agolangf · 2017-05-05 03:00:11 · 700 次点击    
这是一个分享于 2017-05-05 03:00:11 的资源,其中的信息可能已经有所发展或是发生改变。

Hello, Gophers!

I've created a very simple forum web application in Go. Mostly for fun and to learn new things. But i thought it could be useful/interesting to someone. I've uploaded it to github:

github.com/disintegration/bebop


评论:

mcouturier:

I see a lot of work in this, have an upvote and congrats on shipping it.

EDIT: /of/on/

brianketelsen:

Seconded, this looks great. Nice job!

good-morning-captain:

Thank you!

borjap2:

are you looking for contributors for future features?

good-morning-captain:

I wasn't looking for contributors originally. But I will accept pull requests if people are interested.

titpetric:

yeah awesome, i've been looking for non-shitty BB software package for ages, and thought it would be ridiculous to write my own :D

qu33ksilver:

Wow .. believe it or not, I too was thinking of creating a fresh forum webapp in vuejs and Go. And here it is !

But I was actually thinking of using the material-ui design for this.

A few comments:

  • You should really split your front-end and back-end. This will allow you to develop them independently. And it will also help other in ramping up quickly, since they can get started in whatever part they want to.

  • The html templates (both index.html and vuejs) should be in separate files.

  • EDIT: Using a proper module bundler like webpack will also help to keep the front-end codebase sane.

Maybe I will fork it and do them myself !

good-morning-captain:

Thank you for comments! Very fair points. I'm not a frontend person. Actually, it's a first time I used something more than jquery on the frontend side. It was one of the things that i wanted to investigate. So I think the frontend part of this app is really lacking.

As for forking - it's great! I will be happy if this project will see some uses.

no1youknowz:

Why not fork and then do some pull-requests? Contribute and make the project better!

qu33ksilver:

Yes, that's what I meant.

PacNinja:

Ends up being a great learning codebase for me so thank you!

no1youknowz:

Congrats on this. I starred it for when I move to vuejs and go, from a jquery and php backend. I know, I'm years behind. But porting over a monolith is not something one simply does lol.

kaeshiwaza:

Your code looks very clean, you don't learn you teach ! congrat !

bob123456778:

Nice job here!

Cvballa3g0:

Looks very clean! Code and UI-wise.

mtortilla62:

Nice work! I have a couple questions:

  • With S3 used for the images. Is it stateless and thus horizontally scalable?
  • Would it be possible to store the config in environment variables rather than a local file? This would make it much easier to host in AWS Elastic Beanstalk.

good-morning-captain:

Thank you!

  • Yes, if you choose S3 or GCS as a file storage it won't have any state locally so it can be auto-scaled horizontally.
  • I thought of adding this option, but for now the only implemented way is a configuration file.


入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

700 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传