This is a Ruby on Rails Capstone project in Microverse's rails curriculum, to build a Ruby on Rails application where people can write articles. Find the project description here.
This website is created to allow users to view, create, update, and store articles and images about the country Ethiopia. It has several other functionalities like login through Github and Google, see the current weather in Ethiopia, search an article and view articles by the current user.
See the Live version here - > Live Link
- Ruby v2.7.0
- Ruby on Rails v6.0.3
- HTML
- CSS
- Bootstrap
- Carrierwave
- Cloudinary
- Omniauth
- Rspec
- Capybara
- Bcrypt
- Rubocop
- Login or sign up with Google, Github or directly with the web app
- Access the available categories
- Search for articles
- Access articles created by the logged in user
- Access individual article to read more
- See who wrote the article and when
- Vote for Articles
- Edit articles
- See the highest voted article in the index page
- Ruby: 2.6.3
- Rails: 5.2.3
- Postgres: >=9.5
$ git clone https://github.com/Berabjesus/Ethiopia-on-Rails.git
- Go to the local repo and run
bundle install
- Updaate your yarn if its out of date with
yarn install --check-files
- Install bootstrap with
yarn add bootstrap jquery popper.js
- First run
rails db:create
- Then run
rails db:migrate
-
Run
rails server
-
Go to
http://localhost:3000/
-
Login with github and google will only work in the live version because the api keys are not available publicly.
-
Run
rails db:migrate RAILS_ENV=test
-
Run
bundle exec rspec
to run the tests.
👤 Bereket Beshane
- Github: @berabjesus
- Twitter: @bereket_ababu_b
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Heroku
- Nelson Sakwa, The designer of the Lifestyle Articles
None