Skip to content

This project is for Ruby on Rails capstone which is, based on a lifestyle articles website.

Notifications You must be signed in to change notification settings

taiwo2/ror-lifestyle-capstone

Repository files navigation

LifeSTyle ROR Capstone project

This project is for Ruby on Rails capstone which is, based on a lifestyle articles website. I have followed the given design, and I chose to develop this app for articles on women's lifestyles with 'Ruby on Rails". A new article can be created under one or multiple categories. You can upvote an article. The most voted article will be displayed on the home page's top section.

Built With

  • Ruby v2.7.2
  • Ruby on Rails v6.1.0
  • Rspec
  • Capybara
  • rubocop
  • Bootstrap
  • heroku

Live Demo

LifeSTyle

Video Link

Loom Presentation update video

Getting Started

To get a local copy up and running follow these simple example steps.İnitial

Setup

  • Clone this repository with https://github.com/taiwo2/ror-lifestyle-capstone.git using your terminal or command line.
  • Change to the project directory by entering cd ror-lifestyle-capstone in the terminal
  • Next run bundle install to install the necessary dependencies
  • run rails active_storage:install
  • run rails db:create
  • Run rails db:migrate to setup your local database.
  • Run rails db:seed to get seeded data for project.

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser.

Run tests

for test formatting add below script in .rspec file

    rpsec --format documentation

To run all the tests run below script in the terminal

rspec

Create User

Fill the sign up form to create a user

screenshot

Login

Use only the username to login

screenshot

Create a new article from the dropdown menu

Type your title and text, add an image, category

screenshot

Automated Test

  • Run the command and see the output: $ bundle exec rspec Rspec

Database Structure

  • Database schema used for this project reflects the following structure: erd

Author

👤 Taiwo Adetona

🤝 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

https://www.behance.net/gallery/14554909/liFEsTlye-Mobile-version

Design idea by Nelson Sakwa on Behance

📝 License

This project is a capstone project. All rights are reserved for Taiwo.

About

This project is for Ruby on Rails capstone which is, based on a lifestyle articles website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published