Giter Club home page Giter Club logo

calycherkaoui / blogging_app_ror Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 10.81 MB

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/

Ruby 56.18% JavaScript 2.09% CSS 0.39% HTML 23.41% SCSS 17.92%
rails ruby blog devise cancancan rspec-rails rails-admin scss-styles aws mvc-architecture

blogging_app_ror's Introduction

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 [email protected]: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.

blogging_app_ror's People

Contributors

calycherkaoui avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.