项目作者: vertx-stack

项目描述 :
example how to use vertx with Google OAuth2
高级语言: JavaScript
项目地址: git://github.com/vertx-stack/vertx-vue-oauth2.git
创建时间: 2018-11-14T19:52:03Z
项目社区:https://github.com/vertx-stack/vertx-vue-oauth2

开源协议:

下载


Google OAuth2 with VueJS and Vert.x

This repo holds the source codes for the Medium Article Google OAuth2 with VueJS and Vert.x:
@thomas.reinecke/vert-x-vuejs-oauth2-in-5-steps-c04ee78475b7"">https://medium.com/@thomas.reinecke/vert-x-vuejs-oauth2-in-5-steps-c04ee78475b7

Dev env setup

  • clone the project
  • open eclipse, create a new workspace wherever you want it and import vertx-vue-oauth2 as Maven project
  • follow chapter Configure Google OAuth2 and request a Google Client ID and Client Secret
  • follow the steps in chapter Create the Frontend and the Login Page and add yours to src/main.js and MainVerticle.java
  • start the vert.x based backend in eclipse with the provided vertx starter
  • on a dedicated cmd, go to /src/main/frontend
  • install the frontend dependencies and run the frontend (see details on https://github.com/vertx-stack/vertx-vue-oauth2/tree/master/src/main/frontend)

Enjoy!