Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ayoubm490/rails-blog

Blog_app is an implementation of the classic blog website. It's a full stack ruby on rails website that show the list of posts and empower readers to interact with them by adding comments and liking posts.
https://github.com/ayoubm490/rails-blog

rails

Last synced: about 7 hours ago
JSON representation

Blog_app is an implementation of the classic blog website. It's a full stack ruby on rails website that show the list of posts and empower readers to interact with them by adding comments and liking posts.

Awesome Lists containing this project

README

        

# Blog app

> **Blog_app** is an implementation of the classic blog website. It's a full stack ruby on rails website that show the list of posts and empower readers to interact with them by adding comments and liking posts.

## Technologies

- Ruby on Rails
- Rspec
- Rubocop

## Milestones

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

## ERD diagram

![ERD](./doc/blog_app_erd.png)

## Getting Started

- Run `bundle install` to get the dependencies.
- Run `rails s` to start interactive the `puma` server.
- Open `http://localhost:3000` in your browser.

- check the ruby version being used and install it if it is not the same as that of the local machine
- set up the database and direct them to the config/database.yml file
- run 'bundle install'
- run 'npm install' or 'yarn install'
- run 'rails db:create'
- run rails 'db:migrate'
- run rails 'db:seed' if there is data in the seed
- run 'rails s' to start the server locally
- to run tests `bundle exec rspec`.

## About me

👤 **Ayoub Chahir**

- GitHub: [@AyoubMS](https://github.com/AyoubMs)
- Twitter: [@KnowledgeUserD](https://twitter.com/KnowledgeUserD)
- LinkedIn: [Ayoub Chahir](https://www.linkedin.com/in/ayoub-chahir/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

## Show your support

Give a ⭐️ if you like this project!

## License

This is a [MIT](./LICENSE) licensed project.