Blog app built using rails and ruby and PostgreSQL, Every user should login first and he can post a post and give like to others posts and make comments also.
- 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
.
👤 Kerolous Samy
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.