Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/adorsys/golang-chi-rest-db-oauth-sample

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/adorsys/golang-chi-rest-db-oauth-sample

  • v0.0.0-20170207085024-a4a6b81cd25b
  • Source
  • Go
  • Socket score

Version published
Created
Source

Build Status

golang-chi-rest-db-oauth-sample

REST sample with all the stuff we need in our day jobs

Setup

  • install Go 1.7
  • get sources $ go get github.com/adorsys/golang-chi-rest-db-oauth-sample
  • start DB: $ docker-compose up (localhost:5432)
  • start service: $ go run main.go --conf data/conf/dev.toml
  • [get JWT](https://buildrunclick.eu.auth0.com/login?client=0beCklFKuabEpbQ2SJ34m6JmwxYDsn5H&protocol=oauth2&redirect_uri=https://adorsys.de/karriere.html&response_type=token&scope=openid roles) (admin@buildrun.click:admin)
    • copy token from URL after redirect
  • try with curl:
curl --request GET \
  --url http://localhost:3333/articles \
  --header 'accept: application/json' \
  --header 'authorization: Bearer $JWT'
  • generate route markdown docs: go run main.go --routes

FAQs

Package last updated on 07 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc