CalyCherkaoui / blogging_app_ror

Blog magazine specialized in Plants, Ecological farming, and Home gardening. Build with Ruby On Rails, Devise, Rails-admin, SQL, and Postgresql, AWS-S3, MVC Architecture.

Home Page:https://whispering-dawn-59076.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building Photosynthèse Magazine with Ruby on Rails

About the project:

In this project, I built a community blog magazine specialized in plants, ecological farming, and home gardening. This is the Capstone project for the end of Ruby On Rails Module in Microverse curriculum.

This project was built following the specifications, and user cases given by Microverse.

Read the projects specifications

Main features:

  • Secure authentication system with Devise.
  • Super-admin and moderator panels with Rails-admin.
  • Articles creation and editing by the user.
  • Like and dislike an article.
  • It displays articles and categories collections ordered by priority and numbers of likes.
  • It adapts the feature's display and access to the user's roles.
  • It displays paginated collections.
  • It avoids the N+1 Queries problem in loading.
  • It uses AWS-S3 service to store images.
  • Optimized code with Linters, DRY method, and the use of scopes in the models.

Built with:

Ruby Rails GitHub Javascript

Table of content:

Presentation/Demo:




Dependencies:

Iportant Gems and dependencies used in this web application:

Dependency for Development Test Production
Postgresql Database ⭐️ ⭐️
Devise For user authentication ⭐️ ⭐️ ⭐️
Rspec Testing framework ⭐️
Capybara Features and Integration tests ⭐️
Shoulda Matchers Models and association tests ⭐️
Database cleaner Cleaning database in testing ⭐️
rails_admin Engine for administration ⭐️ ⭐️
CanCanCan Managing user roles and abilities ⭐️ ⭐️
Figaro Managing credentials ⭐️ ⭐️
aws-sdk-s3 Amazon s3 for active storage ⭐️ ⭐️
will_paginate Views pagination ⭐️ ⭐️
Bullet N+1 querries debugging ⭐️

Linting tools:

Linter Use Files
Rubocop Linting Ruby errors .rb
Stylelint Linting styling errors .css .scss

Data Models




Getting started (Development)

To get a local copy of the repository, please run the following commands on your terminal:

$ git clone git@github.com:CalyCherkaoui/blogging_app_ror.git
$ cd blogging_app_ror
$ git checkout development
$ bundle install --without production
$ yarn install --check-files
$ rails db:create
$ rails db:migrate
$ rails db:seed

Start server with:

$ sudo service postgresql restart
$ rails server

In your browser's adress field, type : http://localhost:3000

Run tests

$ rpsec --format documentation

Automated Tests:

Models



Integrations


Features


Helpers


Deployment:

This web-application was deployed with Heroku

Author

👤 Houda Cherkaoui

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

All source codeis available jointly under the MIT License. See MIT licence for details.

About

Blog magazine specialized in Plants, Ecological farming, and Home gardening. Build with Ruby On Rails, Devise, Rails-admin, SQL, and Postgresql, AWS-S3, MVC Architecture.

https://whispering-dawn-59076.herokuapp.com/


Languages

Language:Ruby 56.2%Language:HTML 23.4%Language:SCSS 17.9%Language:JavaScript 2.1%Language:CSS 0.4%