/zhishi-backend

A backend for zhishi question and answer forum

Primary LanguageRuby

Coverage Status Circle CI Issue Count Code Climate

Zhishi

You've definitely being in this situation before:

Someone asks you a question; Shortly after another person comes with the same question and the cycle continues like that, till you tell the next person to go ask from the last/previous person you answered.

If only there were such applications that helps you aggregate all your answers in one place, so that fellows don't keep coming to you for answers to commnon questions.

You don't need to wish anymore, because Zhishi is here

For the core developers:

Clone the project:

  git clone git@github.com:andela-iamadi/zhishi-backend.git

Install the libraries

  bundle [install]

Install figaro for application secret tokens

  figaro install

Copy your secret keys to the config/application.yml

  SLACK_CLIENT_ID: your slack client id
  SLACK_CLIENT_SECRET: your slack secret key
  GOOGLE_CLIENT_ID: your google client id
  GOOGLE_CLIENT_SECRET: your google secret key

To contribute:

Simply fork the project, and clone your forked version to your development environment

  git clone git@github.com:{my user name here}/zhishi-backend.git

Install the libraries

  bundle [install]

Install figaro for application secret tokens

  figaro install

Copy your secret keys to the config/application.yml

  SLACK_CLIENT_ID: your slack client id
  SLACK_CLIENT_SECRET: your slack secret key
  GOOGLE_CLIENT_ID: your google client id
  GOOGLE_CLIENT_SECRET: your google secret key