Blog Rails App

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.

Built With

  • Ruby
  • Rails
  • PostgreSql

Getting Started

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, open http://127.0.0.1:3000/ to see the project.
  • Run rails db:migrate to run the migration.

Testing

  • 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.

Authors

👤 Kerolous Samy

🤝 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

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.