preloader
軟體工程 Configurations and programming examples about Grape, Doorkeeper and Wine_bouncer in a rails 4 app

This article works for both of production and development environment and not like other articles only work for development. The tested environment are Rails 4.2.5.1, Ruby 2.3.0, Doorkeeper 3.1.0, Grape 0.14.0, Grape-kaminari 0.1.8, Wine_Bouncer 0.5.1 and Devise 3.5.5 . 1. Sample configuration for Grape gem in Rails app projects. 列出Grape gem的設定檔範例 In config/application.rb, add below two

read more
心得 Roles of grape gem and other related gem for building API service | Grape 與其它相關建立API工具的角色

Grape gem is the core of API service, which bulits API endpoints and handles each exception. Devise gem’s role is the user management system. Doorkeeper gem manages oauth clients, which are related with users in Devise gem, and record oauth clients' app id, secret, scopes, authorization codes and access tokens. Doorkeeper takes responsibilities about giving, revoking, and refreshing authorization codes and access tokens. Wine_bouncer gem’s role is a guard of

read more
軟體工程 Grape-rails-routes gem的使用疑問

It’s handy to use Grape-rails-routes gem. But I have a question about that. Why should I need to open the routing page localhost:3000/rails/info/routes_with_grape of grape-rails-routes gem first after I launching rails service and before using OAuth clients? If I don’t do this, my Oauth clients can’t access API services even access tokens in my clients are valid. README.markdown of Grape-rails-routes doesn’t mention that. Until now, I still find no answer

read more
軟體工程 Grape 0.12 with Rails 4.1

原本以為自己使用Grape gem撰寫的API,一直收不到參數值,也查不到資料庫的內容。嘗試了很多次,幾乎放棄了,今天終於找出為什麼無法顯示查

read more
待做事項 Ruby Grape gem API

近期想要用Grape gem做一個API的網站,放在Rails 4框架內,藉此向外提供一些資料給各種應用環境使用,也能日後再建立其他的Rails

read more

About

Howard Lee, Frontend-engineer with Angular 7+, Typescript, ReactJS, VueJS. Flutter, Dart, PHP, Ruby, JavaScript, HTML, SASS, CSS, Postgres, MySQL, Web Developer. Have a certificate of AWS Solution Architect Associate with verify number: 8FYNL55LCEEQ10W5. You can verify at AWS Certificate site or Credly site Tech lead role Lead 4 colleagues to build products and infrastructure Coordinate schedule of delivering products Senior web frontend developer role Products Form-filling, form-sharing, file-management, repair-managemnt and project-management for construction industry at Suiqui IoT management and EC platform for Liquid Petroleum Gas(LPG) at Wave-In Comm.

Know More

Tag

Social