Skip to content

The LiFEsTYLe is a blog created using Ruby on Rails, which allows users to publish articles, write and receive comments, and vote for articles. Built with Ruby on Rails.

License

Notifications You must be signed in to change notification settings

Maha-Magdy/Life-Style

Repository files navigation

LiFEsTYLe

The LiFEsTYLe is a blog created using Ruby on Rails. I have made this a simple blog that allows creating categories, and under each category, we can add articles. Then, we can add comments and votes for each article. Besides, the home page has some filtration to show the featured article, which has the biggest number of votes, and each category will represent by the latest article added to it.

screenshot screenshot

Live Demo

Live Demo Link

Loom Videos

1. Loom Video Link

2. Loom Video Link

Built With

  • Ruby on Rails
  • Ruby ( version => 2.7.2 )
  • Postgres database
  • RSpec

Application's Database Schema

screenshot

Installation

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

  1. To clone this repo run this code on a terminal window:

    git clone https://github.com/Maha-Magdy/Life-Style.git

  2. install gems by this command

    bundle install

  3. Create the database by this command

    rails db: create

  4. migrate the database by this command

    rails db:migrate

  5. create your categories from rails console by this command

    rails console

  6. Open rails sever by this command, then follow the link provided to open the application on your browser

    Rails server

  7. Start to create a new user from your server by clicking the sign up link, then log in

  8. Start to add new articles by choosing WRITE AN ARTICLE option from the navbar.

Note: if webpacker::manifest::missingentry error occurs, you will need to run this command to solve the issue

  rails webpacker:install

Authors

Maha Magdy

🤝 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

Nelson Sakwa, who owns the user interface design

Articles, which taken from CNN as a test dummy data

📝 License

This project is MIT licensed.

About

The LiFEsTYLe is a blog created using Ruby on Rails, which allows users to publish articles, write and receive comments, and vote for articles. Built with Ruby on Rails.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published