Skip to content
/ BLOgy Public

The Blog app will be a classic example of a blog website. I will create a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts

License

Notifications You must be signed in to change notification settings

daudi13/BLOgy

Repository files navigation

BLOgy

The Blog app is a classic example of a blog website. It is a functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.

image

Projects list I will be building the Blog app for three weeks. Here is the list of projects that will guide me through the steps described above.

  • Project 1: Setup and controllers.
  • Project 2: Controllers specs.
  • Project 3: Creating a data model.
  • Project 4: Processing data in models.
  • Project 5: Views.
  • Project 6: Forms
  • Project 7: Validations, Model specs, and n+1 problems.
  • Project 8: Add Devise.
  • Project 9: Add authorization rules.
  • Project 10: Integration specs for Views.
  • Project 11: Add API endpoints.
  • Exercise: API documentation.

ERD diagram

Getting started

  • Run bundle install to get the dependecies
  • Run rails s to start the server
  • Open https://localhost:3000 in your browser
  • to run test bundle exec rspec

Tests

Diffult (run all spec files):

bundle exec rspec

Run all spec files in the Spec folder:

bundle exec rspec spec

Run all spec files in a single directory:

bundle exec rspec spec/models

Run a single spec file:

bundle exec rspec spec/views/login_page_spec.rb

Run a single example from a spec file(by line number):

bundle exec rspec spec/controllers/users_controller_spec.rb:8

See all options for running specs:

bundle exec rspec --help

Authors

👤 David Owuor Ouma

👤 Zahra Aershia

🤝 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!

📝 License

This project is MIT licensed

About

The Blog app will be a classic example of a blog website. I will create a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published