Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daudi13/blogy
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
https://github.com/daudi13/blogy
ruby-on-rails
Last synced: 3 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/daudi13/blogy
- Owner: daudi13
- License: mit
- Created: 2022-06-07T13:02:13.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2022-06-24T13:41:53.000Z (over 2 years ago)
- Last Synced: 2023-03-04T05:09:53.277Z (over 1 year ago)
- Topics: ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 220 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://user-images.githubusercontent.com/78906545/173846961-bae022ee-8f15-44a3-9313-ec1e1119ebc1.png)
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
![](./blog_app_erd.png)## 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**
- GitHub: [Daudi13](https://github.com/daudi13/)
- Twitter: [@davouma](https://twitter.com/mwapesamuel4)
- LinkedIn: [DavidOuma](https://www.linkedin.com/in/david-owour-ouma/)👤 **Zahra Aershia**
- GitHub: [@ZahraArshia](https://github.com/ZahraArshia)
- Twitter: [@ZahraArshia](https://twitter.com/ZahraArshia)
- LinkedIn: [@ZahraArshia](https://www.linkedin.com/in/ZahraArshia/)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Mwapsam/ruby-capstone/issues)
## Show your support
Give a ⭐️ if you like this project!
## 📝 License
This project is [MIT](./LICENSE) licensed