Microverse Ruby on Rails capstone project. This project is a blogging app, where users can register, start writing their own articles, read articles written by others, and give likes to those articles.
- Users can create accounts and log in.
- When logged in, users can create articles, update or delete them.
- When logged in users can like articles.
- Featured article is showed at the top which is the most liked article.
- Two bottoms featured images are picked last ones from two different categories.
- Data when an article is created and who created it is showed on the article on the main page.
- When a user clicks on the specific category it sorts articles just by that category
- In categories right side field users can see how many articles each category has.
https://www.loom.com/share/1244a0864e9c463ab437d0afec77096a
Click the following https://blogaboutcats2.herokuapp.com/ to see a live version of the site.
To check website functionality you can use TestUser which is already created:
email: test2@test.com
password: asdfasdf
- Ruby 2.7.0
- Ruby on Rails 6.0.3.4
-
To get this project up and running locally, you should have Ruby installed on your computer.
-
Run this command
git clone https://github.com/visva-dev/Students-Blog.git
in the desired folder to clone the repository on to your local machine. After cloning the project, you should move into the directory where the project is stored, for examplecd Students-Blog
. -
Then run the following command install the necessary dependencies
bundle install
- Step 4
rails db:create
- Step 5
rails db:migrate
- Step 6 If you want to have demo content and test user already created, run this:
rails db:seed
- Step 7
Rails s
Sometimes you can be asked to check files with yarn, so run this command:
yarn install --check files
bundle exec rspec
👤 Visvaldas Rapalis
- Github: @visva-dev
- Twitter: @Visva_Dev
- Linkedin: @Visvaldas-Rapalis
- Website: good-developer.com
Give an ⭐️ if you like this project!
- This project was originally taken from The Odin project.
- The project was inspired by the Microverse program.
This project is MIT licensed.
Design idea by Nelson Sakwa on Behance