A simple forum web application

agolangf · · 586 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello, Gophers!</p> <p>I&#39;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&#39;ve uploaded it to github:</p> <p><a href="https://github.com/disintegration/bebop">github.com/disintegration/bebop</a></p> <hr/>**评论:**<br/><br/>mcouturier: <pre><p>I see a lot of work in this, have an upvote and congrats on shipping it.</p> <p>EDIT: /of/on/</p></pre>brianketelsen: <pre><p>Seconded, this looks great. Nice job!</p></pre>good-morning-captain: <pre><p>Thank you!</p></pre>borjap2: <pre><p>are you looking for contributors for future features?</p></pre>good-morning-captain: <pre><p>I wasn&#39;t looking for contributors originally. But I will accept pull requests if people are interested.</p></pre>titpetric: <pre><p>yeah awesome, i&#39;ve been looking for non-shitty BB software package for ages, and thought it would be ridiculous to write my own :D</p></pre>qu33ksilver: <pre><p>Wow .. believe it or not, I too was thinking of creating a fresh forum webapp in vuejs and Go. And here it is !</p> <p>But I was actually thinking of using the material-ui design for this.</p> <p>A few comments:</p> <ul> <li><p>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.</p></li> <li><p>The html templates (both index.html and vuejs) should be in separate files.</p></li> <li><p>EDIT: Using a proper module bundler like webpack will also help to keep the front-end codebase sane.</p></li> </ul> <p>Maybe I will fork it and do them myself !</p></pre>good-morning-captain: <pre><p>Thank you for comments! Very fair points. I&#39;m not a frontend person. Actually, it&#39;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.</p> <p>As for forking - it&#39;s great! I will be happy if this project will see some uses.</p></pre>no1youknowz: <pre><p>Why not fork and then do some pull-requests? Contribute and make the project better!</p></pre>qu33ksilver: <pre><p>Yes, that&#39;s what I meant.</p></pre>PacNinja: <pre><p>Ends up being a great learning codebase for me so thank you!</p></pre>no1youknowz: <pre><p>Congrats on this. I starred it for when I move to vuejs and go, from a jquery and php backend. I know, I&#39;m years behind. But porting over a monolith is not something one simply does lol.</p></pre>kaeshiwaza: <pre><p>Your code looks very clean, you don&#39;t learn you teach ! congrat !</p></pre>bob123456778: <pre><p>Nice job here!</p></pre>Cvballa3g0: <pre><p>Looks very clean! Code and UI-wise.</p></pre>mtortilla62: <pre><p>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.</p></pre>good-morning-captain: <pre><p>Thank you! * Yes, if you choose S3 or GCS as a file storage it won&#39;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.</p></pre>

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

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