Giter VIP home page Giter VIP logo

assignment_coder_school's Introduction

Pre-work - Hoang Blog

Le Xuan Hoang blog is a Ruby on Rails blog application.

Submitted by: Le Xuan Hoang

Time spent: 20 hours spent in total

URL: https://agile-refuge-74970.herokuapp.com/

User Stories

The following required functionality is complete:

  • User can create a new post, formatted using the Markdown language.
  • User can edit an existing post.
  • There is one post that introduces the App Creator with name, picture.
  • User can delete stories, with an alert that asks the user to confirm.
  • User see a search form on the Posts page.
  • User can submit a search term to find all posts by with titles containing the search term.

The following optional features are implemented:

  • There is a "navbar" that is responsive to window size similar to http://v4-alpha.getbootstrap.com/examples/navbar/.
  • User can see how many views a post has.
  • User can leave a comment on a post.
  • User can add "tags" to a post, and filter posts by tag.

List anything else that you can get done to improve the app functionality!

  • User can see a number of result after searching.
  • User can see a number of comments of each article.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

Describe any challenges encountered while building the app.

  • I faced to setup configuration on MAC OS El-Captain because postgresql need to be updated on this version.
  • I had to change a default routing on production when deploying on heroku.

License

Copyright [2017] [Hoang Le]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

assignment_coder_school's People

Watchers

Le Xuan Hoang avatar

assignment_coder_school's Issues

Thanks!

Hi @lxhoang,

Thanks for your submitting. Good work ๐Ÿ‘
In summary, your submission is quite good. You have finished all required stories and half of optional stories.
And below are some suggestions that can improve your blog:

  • Always be cautious with user input, you can use Active Record Validations to validate (like required condition for article title).
  • You could have a article about yourself and should not allow users to update/delete the article about yourself.
  • You should display articles with the newest descending order for better usage.
  • Good point for using bootstrap, you can use it to improve other pages like detail, create, edit. One small suggest that you should set width: 20rem and using col-sm-offset class to center the article element.
  • You can move the html code of the site header and navigation bar from index.html.erb to layout/application.html.erb so navbar and header also display in other views like details, edit view.
  • Also render Markdown in detail view, currently it still displays raw text.

There is still time, so why don't you work on the remaining optional features this weekend, especially comments and tags stories so you can understand more about Model association in Rails, we will continue to review your submission and provide help if you need. Good work man!
Let us know if you have any questions by commenting here.

Best regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.