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.
- Ruby
- Ruby on Rails
- Rubocop
Follow these steps below :
git clone https://github.com/codecaiine/rails-blog
cd rails-blog
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
-
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.
👤 Yannick-Noel AKA
- Location: Côte d'Ivoire
- GitHub: @codecaiine
- Twitter: @yannicknaka
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!