/rails-blog

A fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts. Currently being worked on.

Primary LanguageRuby

Blog App

The Blog app is a classic example of a blog website. It's a functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Built With

  • Ruby
  • Ruby on Rails
  • Rubocop

Getting Started

Follow these steps below :

Setup

git clone https://github.com/codecaiine/rails-blog

cd rails-blog

Prerequisites

Ruby Rails PostgresSQL

Install gems with:

bundle install

Setup database with:

rails db:create
rails db:migrate

Start server with:

rails server

Open http://localhost:3000/ in your browser. Run tests

Install npm with:

npm i

Install rspec with:

bundle install

and

rails generate rspec:install

run the test with:

rspec spec

Test

  • Run gem install rspec to install Rspec,

  • Run rspec spec to run all the test cases, and

  • Run rspec spec/name_of_test_file.rb to run test cases individually.

Authors

👤 Yannick-Noel AKA

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!