GitXplorerGitXplorer
r

snippy

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
2e490a9d98328cb5676a003fd0d1c471b70b3c52

fix user broken user auth returning the wrong user

rrobbiespeed committed 8 years ago
Unverified
070f9e8dbe7f955f9febcf16a15ed961adbfb998

package.json fixes

rrobbiespeed committed 8 years ago
Unverified
69f1cd50b35ae96e7e9f1c667050ddc2e30a4d6e

update default data

rrobbiespeed committed 8 years ago
Unverified
cfdbe89319f6a930d2c2d9f02d275b47a09c47bc

make search case not sensitive; also hello `.torus.json`

rrobbiespeed committed 8 years ago
Unverified
08e44e685840a106f8c199f3bfb7aca720addda0

search page; create snippet page; star snippet functionality

rrobbiespeed committed 8 years ago
Unverified
de057d574fb28e0944684a49dfbdfe4707004049

Merge branch 'master' of github.com:robbiespeed/snippy

rrobbiespeed committed 8 years ago

README

The README file for this repository.

snippy

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone git@github.com:robbiespeed/snippy.git
  • cd snippy/client
  • npm install
  • cd ../server
  • npm install
  • Set callback url of your OAuth Application to http://localhost:1337/authorize

Running Client

  • cd snippy/client
  • ember s

Client can be accessed from localhost:4200

Running Server

You will need the following environment variables set

  • export SNIPPY_GH_ID=YourOAuthAppID
  • export SNIPPY_GH_SCRT=YourOAuthAppSecret
  • export SNIPPY_SES_SCRT=CustomSecret
  • export SNIPPY_JWT_SCRT=CustomSecret

Then you can run

  • cd snippy/server
  • node index

Server can be accessed from localhost:1337 with Content-Type:application/vnd.api+json

Ex:

  • curl -H "Content-Type:application/vnd.api+json" localhost:1337
  • curl -H "Content-Type:application/vnd.api+json" localhost:1337/snippets