/blog-app

Blog App is a fully functional Ruby on Rails application that will show the list of posts and empower users to interact by adding comments and liking posts.

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 [Blog App]

[Blog App] Blog App is a fully functional Ruby on Rails application that will show the list of posts and empower users to interact by adding comments and liking posts.

🛠 Built With

  • Ruby on Rails.
  • PostgreSQL.
  • HTML
  • ERB

Tech Stack

  • The app built using Ruby.
  • The schema file built using SQL.

Key Features

Blog App is a fully functional Ruby on Rails application that will show the list of posts and empower users to interact by adding comments and liking posts.

  • [View Blog posts]
  • [Add comments]
  • [View number of posts by user]
  • [A method that returns the 3 most recent posts for a given user.]
  • [A method that updates the posts counter for a user.]
  • [A method which returns the 5 most recent comments for a given post.]
  • [A method that updates the comments counter for a post.]
  • [A method that updates the likes counter for a post.]

(back to top)

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Ruby should be installed in your local machine
  • You need a Terminal.
  • You need a code editor eg: VsCode

Setup

Clone this repository to your desired folder:

cd my-folder git clone https://github.com/Ceemos96/blog-app

Install

Install this project with:

Example command:

sh cd blog-app bundle install

Usage

To run the project, execute the following command:

Example command:

sh ruby main.rb

Run tests

To run tests, run the following command:

Example command:

sh rspec spec

(back to top)

👥 Author

👤 Suleiman Olaade

(back to top)

🔭 Future Features

  • [Searching Functionality for a specific blog post]
  • [Provide a simple way for the user to choose from a list of options]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project...

(back to top)

🙏 Acknowledgments

I would like to thank Microverse

(back to top)

❓ FAQ (OPTIONAL)

📝 License

This project is MIT licensed.

(back to top)