# Vue.js, Spring Boot, Kotlin, and GraphQL: Building Modern Apps - Part 1

**URL:** <https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376>\
**Category:** Blog Discussions\
**Tags:** graphql, vuejs, api, kotlin, spring-boot\
**Created:** [August 13, 2019, 1:49pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376 "2019-08-13T13:49:09Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ramiro/32/8077_2.png) [@ramiro](https://community.auth0.com/u/ramiro)\
**Post date:** [August 13, 2019, 1:49pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/1 "2019-08-13T13:49:10Z")

</div>

Learn how to build modern web apps using Vue.js for the frontend and a Spring Boot, Kotlin, GraphQL API for the backend.

[Read on 🛠](https://auth0.com/blog/vuejs-spring-boot-kotlin-and-graphql-building-modern-apps-part-1)

 ![Vue.js, Spring Boot, Kotlin, and GraphQL: Building Modern Apps - Part 1](https://global.discourse-cdn.com/auth0/original/2X/5/56333a4ff00bc9b235886a142412870851fc2dc6.png)

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ramiro/32/8077_2.png) [@ramiro](https://community.auth0.com/u/ramiro)\
**Post date:** [August 13, 2019, 1:58pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/2 "2019-08-13T13:58:44Z")

</div>

What did you think of this tutorial? Have you tried this technology stack before?

Let us know ✍

---

<div class="post-metadata">

**Author:** ![tddybrrr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tddybrrr/32/15434_2.png) [@tddybrrr](https://community.auth0.com/u/tddybrrr)\
**Post date:** [August 15, 2019, 2:05am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/5 "2019-08-15T02:05:05Z")

</div>

Hi! I had been learning Vue, Spring, and Kotlin separately and this was the perfect opportunity to see how they fit together. It’s a beautiful stack and it’s a shame it’s not the norm lol

Also, please add “{{ messages }}” in the h2 tag of your about.vue component so that the message displays 😉

---

<div class="post-metadata">

**Author:** ![jhonathananto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jhonathananto/32/15455_2.png) [@jhonathananto](https://community.auth0.com/u/jhonathananto)\
**Post date:** [August 15, 2019, 7:43pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/7 "2019-08-15T19:43:46Z")

</div>

Hi, when I execute **./gradlew bootRun** show this error in browser when I try to access **localhost:8888**  
 ![Captura](https://global.discourse-cdn.com/auth0/original/2X/a/a05599e7efbcc9d3eb99eb6d78284d4cefa89a1c.jpeg)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 16, 2019, 7:53am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/8 "2019-08-16T07:53:19Z")

</div>

Thank you a lot for reporting that! Let me ping the person responsible for that content to address that!

---

<div class="post-metadata">

**Author:** ![ericchuawc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ericchuawc/32/15682_2.png) [@ericchuawc](https://community.auth0.com/u/ericchuawc)\
**Post date:** [August 27, 2019, 1:05am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/9 "2019-08-27T01:05:34Z")

</div>

I am getting this error (even I copied the exact code snippets above)

val bean = FilterRegistrationBean(CorsFilter(source))

/MovieReviewBoard/HelloWorldController.kt: (32, 62): Too many arguments for public constructor CorsFilter() defined in org.apache.catalina.filters.CorsFilter

---

<div class="post-metadata">

**Author:** ![PBA](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pba/32/15850_2.png) [@PBA](https://community.auth0.com/u/PBA)\
**Post date:** [September 3, 2019, 5:50pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/10 "2019-09-03T17:50:23Z")

</div>

I was getting this error too. It looks like Spring Initializr has changed since this article was written. From the console I saw that Spring Boot is running embedded Tomcat.

On a hunch I changed the Spring Initialzr packaging from JAR to **WAR** and that fixed this issue.

These are the settings I used to get things working (I’m running Java 12)

 ![SpringBootAuth0](https://global.discourse-cdn.com/auth0/original/2X/6/620d5d9f7493b5ec5202c20920cd5315046c333a.png)

Regards,  
Paul.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 5, 2019, 1:47pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/11 "2019-09-05T13:47:06Z")

</div>

Thanks a lot for providing that knowledge Paul!

---

<div class="post-metadata">

**Author:** ![radu.c.stefanescu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/radu.c.stefanescu/32/27042_2.png) [@radu.c.stefanescu](https://community.auth0.com/u/radu.c.stefanescu)\
**Post date:** [January 20, 2021, 7:07pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/12 "2021-01-20T19:07:29Z")

</div>

Really cool article and very helpful.

The @EnableResourceServer annotation has been deprecated in the mean time, and also the event bus in Vue 3 is deprecated. Would be really nice to have this example updated to latest releases for the software stack. Currently stuck on implementing authentication using Auth0 in a project with a Vue 3 and Spring Boot 2.3 tech stack.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 21, 2021, 12:57pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/13 "2021-01-21T12:57:32Z")

</div>

Relaying that feedback to our Content Team that is responsible for creating those blog articles. Will let you know once we have any updates on this front!

---

<div class="post-metadata">

**Author:** ![dan-auth0](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dan-auth0](https://community.auth0.com/u/dan-auth0)\
**Post date:** [January 21, 2021, 8:03pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/14 "2021-01-21T20:03:40Z")

</div>

Howdy, Radu! Welcome to the Auth0 Community.

For the latest on Spring Boot (Java) authorization, checkout this blog post, please:

> **[Spring Boot Authorization Tutorial: Secure an API (Java)](https://auth0.com/blog/spring-boot-authorization-tutorial-secure-an-api-java/)**
>
> Learn how to use Spring Boot, Java, and Auth0 to secure a feature-complete API. Learn how to use Auth0 to implement authorization in Spri...

For Vue Authentication, check out:

> **[The Complete Guide to Vue.js User Authentication with Auth0](https://auth0.com/blog/complete-guide-to-vue-user-authentication/)**
>
> Learn how to add login, logout, and sign-up to Vue.js using a plugin, how to create vue-router guards, and how to make secure API calls f...

You can adapt the client or API server to fit your data model. It does not cover GraphQL but it gives you a strong foundation on where to start 🙂

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 22, 2021, 10:16am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/15 "2021-01-22T10:16:57Z")

</div>

Thanks for the update on this one Dan!

---

<div class="post-metadata">

**Author:** ![radu.c.stefanescu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/radu.c.stefanescu/32/27042_2.png) [@radu.c.stefanescu](https://community.auth0.com/u/radu.c.stefanescu)\
**Post date:** [January 22, 2021, 8:06pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/16 "2021-01-22T20:06:48Z")

</div>

Hey Dan, thanks for the resources.  
They seem to cover the topics I was interested in.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 25, 2021, 10:58am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/17 "2021-01-25T10:58:13Z")

</div>

Got you covered then!

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [February 22, 2021, 5:58am UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/18 "2021-02-22T05:58:55Z")

</div>

This topic was automatically closed 27 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 7, 2022, 2:32pm UTC](https://community.auth0.com/t/vue-js-spring-boot-kotlin-and-graphql-building-modern-apps-part-1/29376/19 "2022-03-07T14:32:17Z")

</div>


