Code Monkey home page Code Monkey logo

blog_about_it's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

blog_about_it's People

Contributors

stevenvelezg avatar

Watchers

 avatar

blog_about_it's Issues

Use published date for posts

Posts currently display with the oldest up top and we are unable to see the date they were published. You can try the following:

  • retrieve the posts in descending order of created_at datetime
  • display when the posts were published by formatting the date in a human-readable way

Login upon Sign-Up

When a user signs up they should (probably) be automatically signed in so they can start using the site. At the moment, they're forced to log in with the credentials they just created.

This should be a quick adjustment by setting your session after account creation.

Input Validations

It's currently possible to sign up without a properly formatted email address. In your User model you could add in validations.

The following validations would be good to have:

  • verify email is unique
  • verify email is actually an email address
  • password minimum length of 8

Edit form changes password

The edit form changes the user's password, which could be a confusing user experience (UX). Often password changes are separated out into a "change password" feature (could have a separate view & action for that if you wanted). For a profile change, you could either remove the password or ask them to verify their password (which is common for sensitive data changes to make sure the user didn't go AFK and allow someone to change their details while they were away).

Alter language for "show" link on posts index

The posts index page currently has links with the text "show" that goes to the post show view, which in turn shows all comments for that post. You'd probably want to alter the language to say "View comments" and you could also display the total number of comments a post has:

"View Comments (10)"

If there were ten comments the link might read something like the above.

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.