All Projects → sethherr → Grape Doorkeeper

sethherr / Grape Doorkeeper

Licence: mit
Get to API building quickly

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Grape Doorkeeper

Aspnetcore Webapi Course
Professional REST API design with ASP.NET Core 3.1 WebAPI
Stars: ✭ 323 (+319.48%)
Mutual labels:  swagger, swagger-ui
Django Ninja
💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Stars: ✭ 875 (+1036.36%)
Mutual labels:  swagger, swagger-ui
Rapidoc
RapiDoc - Custom-Element for OpenAPI Spec
Stars: ✭ 444 (+476.62%)
Mutual labels:  swagger, swagger-ui
echoswagger
Swagger UI generator for Echo framework
Stars: ✭ 34 (-55.84%)
Mutual labels:  swagger, swagger-ui
Swagger Editor
Swagger Editor
Stars: ✭ 7,365 (+9464.94%)
Mutual labels:  swagger, swagger-ui
Swaggerlume
Lumen swagger
Stars: ✭ 277 (+259.74%)
Mutual labels:  swagger, swagger-ui
Swagger Ui Themes
💥 A collection of css themes to spice up your Swagger docs
Stars: ✭ 470 (+510.39%)
Mutual labels:  swagger, swagger-ui
Swagger Bootstrap Ui
Swagger-bootstrap-ui is the Swagger front-end UI implementation, the purpose is to replace the Swagger default UI implementation Swagger-UI, make the document more friendly....
Stars: ✭ 2,816 (+3557.14%)
Mutual labels:  swagger, swagger-ui
Spring Boot Elasticsearch Lire Docker
Spring-boot+ElasticSearch+LIRE+SwaggerUI RESTful.
Stars: ✭ 7 (-90.91%)
Mutual labels:  swagger, swagger-ui
Spark Swagger
Spark (http://sparkjava.com/) support for Swagger (https://swagger.io/)
Stars: ✭ 25 (-67.53%)
Mutual labels:  swagger, swagger-ui
Dorado
基于Netty4开发的简单、轻量级、高性能的的Http restful api server
Stars: ✭ 65 (-15.58%)
Mutual labels:  swagger, swagger-ui
Swagger Ui Cimpress
A swagger-ui fork with an easy to read, responsive three pane view.
Stars: ✭ 32 (-58.44%)
Mutual labels:  swagger, swagger-ui
Flasgger
Easy OpenAPI specs and Swagger UI for your Flask API
Stars: ✭ 2,825 (+3568.83%)
Mutual labels:  swagger, swagger-ui
Springdoc Openapi
Library for OpenAPI 3 with spring-boot
Stars: ✭ 1,113 (+1345.45%)
Mutual labels:  swagger, swagger-ui
Hexo Theme Doc
A documentation theme for the Hexo blog framework
Stars: ✭ 222 (+188.31%)
Mutual labels:  swagger, swagger-ui
Swagger Ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
Stars: ✭ 21,279 (+27535.06%)
Mutual labels:  swagger, swagger-ui
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (+151.95%)
Mutual labels:  swagger, swagger-ui
Gradle Swagger Generator Plugin
Gradle plugin for OpenAPI YAML validation, code generation and API document publishing
Stars: ✭ 197 (+155.84%)
Mutual labels:  swagger, swagger-ui
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-76.62%)
Mutual labels:  swagger, swagger-ui
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+51312.99%)
Mutual labels:  swagger, swagger-ui

Grape-Doorkeeper

Create an awesome versioned API, secured with OAuth2 and automatically documented.

This is a basic Rails 5 application with Doorkeeper, Grape & Swagger for getting to API building quickly.

You can view the live app and the Swagger-ui documentation.

This app is ready to deploy to Heroku Deploy

Set up

This app includes omniauth-bike-index. For Bike Index login to work, create a Bike Index app at BikeIndex.org/oauth/applications/new and add the values from BIKEINDEX_APP_ID and BIKEINDEX_APP_SECRET to the .env file.

Bike Index uses a similar grape, Swagger, doorkeeper setup—this is an example of creating an OmniAuth strategy for doorkeeper.

Adding to an existing application

View how to on the wiki.

Notes

Grape is mounted in app/controllers/api, as described in the excellent Introduction to building APIs with Grape by Monterail, and part 2 of the series.

There are are other posts in the series which are worth reading, particularly OAuth Implicit Grant with Grape, Doorkeeper and AngularJS.

There is also a Railscast on doorkeeper.

Important things in the Gemfile:

Also important, but maybe not as necessary to know about:


If you want to change the name of the app, swap out:

Testing

Rspec and guard - run bundle exec guard to watch your spec files for changes and rerun tests for those files.

There is a spec for the api/v1/me API route and for the swagger docs to help get you started.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].