African tales, a blog website about African stories

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, and store articles about african stories. .

Forks Stargazers Issues

See the Live version here - > Live Link

Landing Interface

Login Interface

New article creating Interface

Built With

  • Ruby v2.7.0
  • Ruby on Rails v6.0.3
  • HTML
  • CSS
  • Bootstrap
  • Active-storage
  • Cloudinary
  • Rspec
  • Capybara
  • Bcrypt
  • Rubocop

Features

  • Login or sign up
  • Access the available categories
  • Vote for Articles
  • See the highest voted article in the index page

Prerequisites

  • Ruby: 2.7.1
  • Rails: 6.0
  • Postgres: >=9.5

Getting Started

Get a local copy

$ git clone git@github.com:sinework/african-tales.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/

Run tests

  • Run rails db:migrate RAILS_ENV=test

  • Run bundle exec rspec to run the tests.

Author

👤 Sinework Amare Shiferaw

🤝 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