Skip to content

soumyaray/codepraise-api

Folders and files

NameName
Last commit message
Last commit date
Jan 2, 2018
Dec 24, 2017
Dec 18, 2017
Jan 2, 2018
Dec 6, 2017
Dec 18, 2017
Dec 6, 2017
Oct 31, 2017
Dec 24, 2017
Dec 18, 2017
Dec 18, 2017
Dec 6, 2017
Nov 13, 2017
Dec 24, 2017
Dec 18, 2017
Jan 1, 2018

Repository files navigation

CodePraise

Web API for the CodePraise application

Routes

Our API is rooted at /api/v0.1/ and has the following subroutes:

  • GET repo – Index of all repos stored
  • GET repo/ownername/reponame - Fetch metadata of a previously stored repo
  • POST repo/ownername/reponame - Load a repo from Github and store metadata in API

Setup

To setup and test this API on your own machine:

$ git clone [email protected]:soumyaray/code_praise.git
$ cd code_praise
$ bundle install
$ bundle exec rake db:migrate
$ RACK_ENV=test bundle exec rake db:migrate
$ bundle exec rake spec

You may have to add your Github developer token to config/secrets.yml (see example in folder)

About

Web API for CodePraise service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages