Skip to content

Berabjesus/Ethiopia-on-Rails

Repository files navigation

Ethiopia on Rails, Articles Web App About Ethiopia

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.

Contributors Forks Stargazers Issues License: MIT

See the Live version here - > Live Link

Sign up, login and Index Interface

Categories Page

Built With

  • Ruby v2.7.0
  • Ruby on Rails v6.0.3
  • HTML
  • CSS
  • Bootstrap
  • Carrierwave
  • Cloudinary
  • Omniauth
  • Rspec
  • Capybara
  • Bcrypt
  • Rubocop

Features

  • 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

Prerequisites

  • Ruby: 2.6.3
  • Rails: 5.2.3
  • Postgres: >=9.5

ERD diagram

Getting Started

Get a local copy

$ git clone https://github.com/Berabjesus/Ethiopia-on-Rails.git

Initial Setup

  • 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

Database Setup:

  • First run rails db:create
  • Then run rails db:migrate

Start server:

  • 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 tests

  • Run rails db:migrate RAILS_ENV=test

  • Run bundle exec rspec to run the tests.

Author

👤 Bereket Beshane

🤝 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!

Acknowledgments

📝 License

None

About

Microverse > Ruby on Rails > Capstone Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published