The Blog app is a fully functional website that shows the list of posts and empowers readers to interact with them by adding comments and liking posts.
- Ruby
- Rails
- PostgreSql
To get a local copy up and running follow these simple example steps.
- Click on the top right green "code" button.
- On the dropdown menu, choose "download with zip" button.
- After download, extract the zip file and you have the project on your machine.
- Run
bundle install
to install all gems for the project. - Run
rails s
to start your project, openhttp://127.0.0.1:3000/
to see the project. - Run
rails db:migrate
to run the migration.
- Run
bundle exec rspec
to run all the tests, and you see the official docs here. - To generate
rails generate rspec:model user
test file for model. - Run
bundle exec rspec spec/models
to test models tests. - To check linters run
rubocop -A
&&npx stylelint "**/*.{css,scss}" --fix
.
👤 Kyrillos Hany
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.