- Ruby v2.7.1
- Ruby on Rails
- Setup Ruby and Ruby-on-Rails on your computer
- Clone this repository by running
https://github.com/SmithVyne/Lifestyle-Blog.git
and cd into the directory - Run
bundle install
to install the necessary ruby gems - Run
rails server
to start-up the application and visitlocalhost:3000
in your browser to access it.
I created a lifestyle blog where users can:
- Create an account
- Write articles with image headers
- Vote on different articles. Both of the same user or a different user.
- Add articles to different categories
- Create new categories
- I created a has_many belongs_to relationship between users and articles
- I also created relationships between articles and their categories
- To create votes, I created a join relationship. So votes belong to users and articles.
- I set up the layout of the app, using the given design.
- I laid out the basic MVP. Focusing on getting the app to work first.
👤 Smith Nkereuwem
- Github: @SmithVyne
- Twitter: @SmithVyne
- Email: email me
Give a ⭐️ if you like this project!