Giter Site home page Giter Site logo

blogging_app's Introduction

Blogging App

Project Specs - Make a barebones messaging board

  1. Users can register and then must be authenticated before logging in (we use Devise). Users should have an email (used for logging in), and a name at a minimum. You can add things like a description or “about me” if you’d like.
  2. Users can create posts (title, body, author (user_id), etc)
  3. Users can comment on other users’ posts (Comments have post_id, body, author (user_id))
  4. There is a posts index page that lists all posts (for entire site). This is the ‘homepage’. This should display a list of posts with the title and the author’s name
  5. Order posts with most recent posts at the top of the page
  6. There is a post show page, that shows a single post. Underneath the post are all the comments, ordered by date created (oldest at the top)
  7. When commenting on a post, you have freedom as far as the layout goes, you can just have a little box that opens, and the user types in their comment. You can also use a modal, etc, whatever you want. It makes more sense to have the form for adding a comment be close to where the comment will end up.

Project Requirements

  • Rails 5.2.4
  • Database Postgres
  • Ruby 2.4.9
  • Rspec
  • Capybara to simulate the user interaction
  • simplecov for test coverage

Bonus features (not required, but nice to have)

  • Style using Bootstrap 3
  • Add a modal for creating a new post
  • Add a modal for logging in
  • Paginate posts#index and/or posts#show (comments)
  • Deploy project to Heroku (make an account for free)

To use the app, follow these steps

  • git clone [email protected]:deepakvig/blogging_app.git
  • bundle
  • rake db:create
  • rake db:migrate

To run test, type

  • rspec

blogging_app's People

Contributors

deepakvig avatar dependabot[bot] avatar

Watchers

 avatar James Cloos avatar

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.