Giter Club home page Giter Club logo

qna-rails-and-react's Introduction

README

This app based on main idea of stackowerflow: people can ask questions and create answers for them, created for lerning how some gems and technologies works.

Features:

Actions mostly works without reload (ajax) New records appears on page without reload for all users (comet) Faye through private pub

  • gem 'private_pub'
  • gem 'thin'

Authentication

  • gem 'devise'
  • gem 'omniauth'
  • gem 'omniauth-facebook'
  • gem 'omniauth-twitter'

Authorization with Policies

  • gem 'cancancan'

App has REST API

  • gem 'active_model_serializers'
  • gem 'doorkeeper'

Attach files to questions/answers

  • gem 'carrierwave'

Background jobs (like email)

  • gem 'sidekiq'
  • gem 'whenever'
  • ActiveJob

Redis for sidekiq and caching

  • Fragment caching (Russian doll caching)
  • gem 'redis-rails'

Sphinx search

  • gem 'thinking-sphinx'

Test Driven Developed more than 400 Rspec tests examples written before code

  • gem 'rspec-rails'
  • gem 'factory_girl_rails'
  • gem 'shoulda-matchers'

Feature (acceptance) testing with JS

  • gem 'capybara'
  • gem 'capybara-webkit'

Views written on Slim & Bootstrap

  • gem 'slim'
  • gem 'bootstrap-sass'

PostgreSQL as main db

  • gem 'pg'

Ready to Deploy

  • gem 'capistrano'
  • gem 'therubyracer'

Unicorn as production webserver

  • gem 'unicorn'

Ruby version

  • ruby 2.2.1

Services (job queues, cache servers, search engines, etc.)

  • Postgres
  • Redis
  • Sidekiq
  • PrivatePub(thin)
  • Sphinx

Deployment instructions

  • cap production deploy

Development start instructions

  • rails s -b ip_address
  • rackup private_pub.ru - s thin -E development -o ip_address
  • rake ts:start - Sphinx
  • redis-server start
  • sideqik -q default -q mailer

qna-rails-and-react's People

Contributors

eugenekey 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.