Skip to content

josuehenrique/qa_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

wercker status

This RESTful readonly API is will provide questions and answers in json format suppressing private questions. The HTTP response will be according with HTTP methods.

Things you may want to cover to build the project:

  • Ruby version - 2.4.2
  • Rails version - 5.1.4

Steps to up this API:

  • Configure the database.yml
  • $ bundle
  • $ rake db:create && rake db:migrate
  • $ rails s

Steps to run tests

  • $ rake db:create RAILS_ENV=test
  • $ rake db:migrate RAILS_ENV=test
  • $ script/build

Issue Tracker https://trello.com/b/oQ6yf2T1/qaapi

Production URL https://qaapi.herokuapp.com/

Available Routes

URL Verb
/users GET
/users/:id GET
/questions GET
/questions/:id GET
/dashboard GET

Available Tenants to make requests

  • name: Grey, login: grey, api_key: asdf342dsadf
  • name: Melly, login: melly, api_key: asdf342234dss$adf

Instructions

  • To make any request take some api key and put in header api_key.
  • The API_KEY will identify tentant requester.
  • Any request will be registered.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages