This is the Capstone project. It is done after completion of Microverse Main technical curriculum section. Building this project is very important because:
- It's a real-world-like project, built with business specifications
- that will look nice in your portfolio and
- You will get feedback about the achievement of technical and soft skills gained during this section of the program.
- Ruby on Rails
- Bootstrap
- RSpec
- Users
- Signup/login/logout its simple only username is required
- Create categories
- Create articles with images
- have many articles
- Articles
- Belongs to user
- Have many and belongs categories
- Have many likes
- The most voted articles is the first to be displayed with big picture in home page
- Other articles are displayed with their background images in order of most recent.
- Categories
- Have many and belongs to articles
- All categories are displayed in navbar according to their priority
- Likes
- Belongs to user
- Belongs to article
- mobile responsive
- admin requirement
- same user is able to delete his own article
- Ruby '~>3.1.0'
- Rails '~>7.0.3'
- PostgreSQL 9.2.24
Clone this repository and run the following commands
$bundle install --without-production
$sudo service postgresql start
$rails db:migrate
$rails s
then open http://localhost:3000/
Navigate to the project folder make sure Rspec is installed and then run the following command
$rspec -f d
Live demo of the project
link to Video presentation
- Github: IBUNHABIBU
- Twitter: @ibunhabibu
- LinkedIn: Salum Habibu Kombo
Give a ⭐ if you liked this project
Credits go to
- Nelson Sakwa who designed this template on behance.net
- My mentor Raphael Noriode for technical assistance
- All Microverse TSEs for their feedback that make me to improve technically
-Edit the credentials EDITOR=vim rails credentials:edit sudo apt-get install vim
rbenv: version ruby-2.6.3' is not installed
solution: rbenv install 2.6.3`
undefined method 'signed_id' for nil:NilClass
this is caused by no record in the active storage
solution: rails db:reset
State changed from starting to crashed error code=H10 The above error was caused by typing error of variables instead of :amazon I typed :amazone in production.rb file
web: rake db:migrate && bin/rails server -b 0.0.0.0 -p { PORT: -3000 } && bin/rails css:watch
This project is MIT licensed.